[LUNA] simple(ton?) bash question ....
Paul F. Pearson
pfpearson at mchsi.com
Fri Nov 21 15:00:19 CST 2014
----- "William A. Mahaffey III" <wam at hiwaay.net> wrote:
> *Booooyah* !!!! I now have:
>
> [root at Q6600:/etc, Fri Nov 21, 02:25 PM] 1099 # function lltr10 () {
> lltr
> "$*" | tail -10; }; export lltr10
Congrats on it working!
>
> & if you make the "$*" into "$@" it works w/ a NULL arg list (as per
> man
>
Yup, "$@" is generally better. I didn't want to stray from your larger issue.
> page, just checked) .... *hoooray* !!!! Thanks.
You're quite welcome. I kind of like shell scripting.
------
Paul F. Pearson
We all laugh in the same language
More information about the LUNA
mailing list