Re: Command line parameter problem in scripts ?

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

 



A pretty good book called "Advanced Bash Script" (ABS)--I'm not sure
of the name, you can google it.

2006/10/11, Kim Lux <lux@xxxxxxxxxxxxxxxxxxx>:
On Wed, 2006-10-11 at 03:26 +0800, 赵方杰 wrote:
> You can use $@ instead of $1, or you can use "shift" command: for
> eachfile in "$1"; do [ x"$eachfile" = x ] && break; ...... ; shift;
> done

I've never seen that before.   Where is this documented ?

Someone care to recommend a good book on script writing ?

BTW: LINUX ROCKS !

--
Kim Lux,  Diesel Research Inc.


--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux