This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Arguments after shell redirection not before?


Community,

We have scripts in intl/ for testing that use:

${objpfx}tst-gettext > ${objpfx}tst-gettext.out ${objpfx}domaindir

e.g. tst-gettext.sh

Which has argument *after* redirection.

Why? I find this style uncommon and prone to confusion.

I like the redirection to be the last thing in the list.

When is the above useful?

Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]