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]

Re: Arguments after shell redirection not before?


On Sunday 05 May 2013 13:01:10 Carlos O'Donell wrote:
> 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?

i tend to prefer to put the redirections last unless it looks better (it 
usually doesn't), but i can handle either ;)
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


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