[LUNA] simple(ton?) bash question ....

William A. Mahaffey III wam at hiwaay.net
Fri Nov 21 15:26:19 CST 2014


On 11/21/14 15:00, Paul F. Pearson wrote:
> ----- "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
>
> _______________________________________________
> LUNA mailing list
> LUNA at lunagroup.us
> http://lunagroup.us/mailman/listinfo/luna
>

So do I when it works :-) ....

-- 

	William A. Mahaffey III

  ----------------------------------------------------------------------

	"The M1 Garand is without doubt the finest implement of war
	 ever devised by man."
                            -- Gen. George S. Patton Jr.



More information about the LUNA mailing list