Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Apr 1999 16:29:55 -0700
From:      notme <notme@lvdi.net>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   read from file in csh or sh script
Message-ID:  <371BBC73.C03EDA12@lvdi.net>

next in thread | raw e-mail | index | archive | help
Hi
    Well, this is probably a stupid question, but can anyone please
tell me (or give me a reference) the command for reading from a file
to a variable in shell script. (csh or sh).
(what I mean is kinda like the following in C++)

filehandle >> a_string_var;

Thank you in advance!

Frankie



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?371BBC73.C03EDA12>