bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: reading the first colums of text file


From: Brian J. Murrell
Subject: Re: reading the first colums of text file
Date: Sun, 04 Feb 2007 19:26:11 -0500

On Sat, 2007-02-03 at 23:30 -0500, Paul Jarc wrote:
> "Brian J. Murrell" <address@hidden> wrote:
> > < <(cat $file)
> 
> http://partmaps.org/era/unix/award.html

LOL.  Too right.  I am just so used to using process redirection to
solve the old "but my variables don't maintain their value after my
"<pipeline> | while read $var; do string="$string $var"; done" problem
that I immediately think of process redirection.

Of course instead of "<(cat $file)" I could have just used "$file".

What would be funny is if bash pointed one to the above URL when it
detected one doing something silly like that.

b.

-- 
My other computer is your Microsoft Windows server.

Brian J. Murrell

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]