The $(supports it. But ash (at least the version I have) doesn't, so what to
do if you want/need to be portable across all Bourne type shells? There
is a feature that will work in all the Bourne shells that I'm familiar
with, using I/O redirection and 'exec':
exec 5fileName
while read inputL
On Wed, Jul 19, 2006 at 05:13:26PM +0530, Anil Gupte/k.e.e.n., inc.
wrote:
> BlankIs there a shell command to read files? I want to open a text
> file, loop through each line and parse the line of text.
while read line
do
echo "processing line: $line"
done < input_text_file
--
"Artificial intel
2006. július 19. 16:31,
Mladen Adamovic <[EMAIL PROTECTED]>
-> Debian User ,:
> Tony Terlecki wrote:
> >> Is there a shell command to read files? I want to open a text file,
> >> loop through each line and parse the line of text.
> >
> > Depending on what you want to do:
> >
> > man sed
> > man aw
On Wed, Jul 19, 2006 at 05:19:30PM +0530, Anil Gupte wrote:
> bg image(cid:014e01c6ab29$652db160$6400a8c0@Aum)
> Is there a shell command to read files? I want to open a text file, loop
> through each line and parse the line of text.
>
Depending on what you want to do:
man sed
man awk
Regardl
Tony Terlecki wrote:
Is there a shell command to read files? I want to open a text file, loop
through each line and parse the line of text.
Depending on what you want to do:
man sed
man awk
Yeah, but he asked about shell commands which read files, and that is 'cat'
so my addon to
Is there a shell command to read files? I want to open a text file,
loop through each line and parse the line of text.
Also, as I am in learning mode, is there a way to write text files from a
script?
Thanx,
Anil Gupte
ect: Read/Write files from a
script?
Is there a shell command to read files? I want to open a
text file, loop through each line and parse the line of text.
Also, as I am in learning mode, is there a way to write text files
from a script?
Thanx,
Anil Gupte
/Write files from a
script?
Is there a shell command to read files? I want to open a
text file, loop through each line and parse the line of text.
Also, as I am in learning mode, is there a way to write text files
from a script?
Thanx,
Anil Gupte
Is there a shell command to read files? I want to open a text file,
loop through each line and parse the line of text.
Also, as I am in learning mode, is there a way to write text files from a
script?
Thanx,
Anil Gupte
9 matches
Mail list logo