same problem... not on my terminal bash-4.3$ x 1 PAR=1
but I must say you explained "the why" very well regards the initial empty parameter On Sun, Dec 20, 2015 at 2:20 PM, Michael Welle <mwe012...@gmx.net> wrote: > Hello, > > Philip Brown <philipbrown...@gmail.com> writes: > > > i think that is a feature of echo > > if you want without the space you could use printf > > > > alias x='printf "PAR=%s\n" $1' > same problem as with the initial question. What value does the $1 have? > It is empty. alias does not expect any parameters, if that might be the > idea behind $1. > > Regards > hmw > > -- > biff4emacsen - A biff-like tool for (X)Emacs > http://www.c0t0d0s0.de/biff4emacsen/biff4emacsen.html > Flood - Your friendly network packet generator > http://www.c0t0d0s0.de/flood/flood.html > -- > users mailing list > users@lists.fedoraproject.org > To unsubscribe or change subscription options: > https://admin.fedoraproject.org/mailman/listinfo/users > Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct > Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines > Have a question? Ask away: http://ask.fedoraproject.org >
-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org