-----BEGIN PGP SIGNED MESSAGE-----

Mikkel L. Ellertson wrote:

>alias t-echo='echo $1 is the first varable'
>
>You would expect the output of the command "t-echo this" to be
>
>this is the firest varable
>
>but what you get is
>
>is the first varable this

Makes perfect sense to me (at least to my tired eyes), since "t-echo"
gets expanded before the shell ever sees "this".  So:

$ t-echo this

is seen as 'echo $1 is the first variable this'.  Of course, $1 here
is null, so you're left with 'echo is the first variable this', which
is exactly what you got ...

- -- 
David Talkington
Prairienet
[EMAIL PROTECTED]
217-244-1962

PGP key: http://www.prairienet.org/~dtalk/dt000823.asc


-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8
Comment: Made with pgp4pine 1.75-6

iQEVAwUBOrMQj71ZYOtSwT+tAQHmbAf+NfyKihECwW/cGt7zhIff2Staoyp15vgT
GA1t6FMAhWxb+Z45Sx1llGvkIoxBwyoQuxLPqfN61wpumnpvloWDnyOV41rnisH8
xpyWPe5KlO4AygqG2TbHn8MzyK5fs13bSqXMAM9lW+dn/duX6Oem/Cp/ImdCkkAK
16kL20z1qefoV3N7QhIiK1mO2beMnACYY5KgWE2NIrJKziASl4OhxTiB+mFHzLML
VUj3g/nHgcekQBUoOKngj0hpnHCCoR5QBRHDFt8nJHwxhtCLnXEgaKs1SPuw9F15
d8PQmx/PL2DJjJBBhq1uIOhTM+BllWWrpFW5ydgAN2+FpxzjPNdrbg==
=vV05
-----END PGP SIGNATURE-----




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to