Matthew_S wrote:
> With the 'while read line', it appears that I don't need to keep track of
> the line numbers. In fact this below does exactly what I need it to do;
Good.
> cat $File | # Supply input from a file
Search the web for "useless use of cat". Your use of it here is
useless.
But
BASH PATCH REPORT
=
Bash-Release: 3.2
Patch-ID: bash32-033
Bug-Reported-by:Christophe Martin <[EMAIL PROTECTED]>
Bug-Reference-ID: <[EMAIL PROTECTED]>
Bug-Reference-URL:
http://lists.gnu.org/archive/html
BASH PATCH REPORT
=
Bash-Release: 3.2
Patch-ID: bash32-032
Bug-Reported-by:Uwe Doering <[EMAIL PROTECTED]>
Bug-Reference-ID: <[EMAIL PROTECTED]>
Bug-Reference-URL:
http://lists.gnu.org/archive/html/bug-b
BASH PATCH REPORT
=
Bash-Release: 3.2
Patch-ID: bash32-031
Bug-Reported-by:Miroslav Lichvar <[EMAIL PROTECTED]>
Bug-Reference-ID: Fri, 02 Nov 2007 14:07:45 +0100
Bug-Reference-URL:
http://lists.gnu.org/a
BASH PATCH REPORT
=
Bash-Release: 3.2
Patch-ID: bash32-030
Bug-Reported-by:Paul Eggert <[EMAIL PROTECTED]> Andreas Schwab <[EMAIL
PROTECTED]>
Bug-Reference-ID: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Bug-Refe
BASH PATCH REPORT
=
Bash-Release: 3.2
Patch-ID: bash32-029
Bug-Reported-by:Tomas Janousek <[EMAIL PROTECTED]>
Bug-Reference-ID: <[EMAIL PROTECTED]>
Bug-Reference-URL: https://bugzilla.redhat.com/show_bug.
BASH PATCH REPORT
=
Bash-Release: 3.2
Patch-ID: bash32-028
Bug-Reported-by:dAniel hAhler <[EMAIL PROTECTED]>
Bug-Reference-ID:
Bug-Reference-URL:
Bug-Description:
Under some circumstances, readline will incorrectl
BASH PATCH REPORT
=
Bash-Release: 3.2
Patch-ID: bash32-027
Bug-Reported-by:dAniel hAhler <[EMAIL PROTECTED]>
Bug-Reference-ID: <[EMAIL PROTECTED]>
Bug-Reference-URL:
https://bugs.launchpad.net/ubuntu/+so
BASH PATCH REPORT
=
Bash-Release: 3.2
Patch-ID: bash32-026
Bug-Reported-by:Chet Ramey <[EMAIL PROTECTED]>
Bug-Reference-ID:
Bug-Reference-URL:
Bug-Description:
This keeps the Apple linker from attempting to link b
Hi Bob,
Thanks for the quick reply.
With the 'while read line', it appears that I don't need to keep track of
the line numbers. In fact this below does exactly what I need it to do;
cat $File | # Supply input from a file
while read line # As you suggested...
do echo $line
Matthew_S wrote:
> For arguments sake I’ve put ‘I want this whole line on one line’ into the
> config file and the script looks like this;
>
> for i in `cat config.txt`
The result of this will be split on words. That is not what you want.
> It’s been suggested that I try read and so I have this
Hi all and firstly… Happy New Year!
It wouldn’t be a New Year without a New Problem though ;-)
I’m trying to create a script that will take the input of a config file line
by line. Unfortunately, what seems to be happening is that it is taking it
though word by word instead?
For arguments sake
12 matches
Mail list logo