Re: Just another newbie bash shell question: script does not work
- From: Bit Twister <BitTwister@xxxxxxxxxxxxxxxx>
- Date: Fri, 26 May 2006 09:57:23 -0500
On 26 May 2006 06:55:14 -0700, bravegag wrote:
Hi all,
I have been already struggling for a while with this (sorry pals) crap
bash scripting which I can not make any other sense than it was made
purposely non intuitive and totally confusing but anyway ...
Well, I find your Operating system a piece of crap.
Maybe these will help
! bash script advanced documentation
http://tldp.org/LDP/abs/html/index.html
! bash script introduction to Linux documentation
http://tldp.org/LDP/intro-linux/html/index.html
I would like to read each line from an input file and display it.
The human mind tends to reduce everything to it's most complex form.
Here try this
_fn=$1
while read line
set -- $line
echo $1 $2
echo $line
done < $_fn
.
- Follow-Ups:
- References:
- Prev by Date: Just another newbie bash shell question: script does not work
- Next by Date: Re: Just another newbie bash shell question: script does not work
- Previous by thread: Just another newbie bash shell question: script does not work
- Next by thread: Re: Just another newbie bash shell question: script does not work
- Index(es):
Relevant Pages
|
|