Force
Paul
Paul.Domaskis@gmail.com
Wed Jan 7 15:28:00 GMT 2015
Eric Blake <eblake <at> redhat.com> writes:
> alias xargs='xargs '
> alias ls='ls --append-exe'
> find -pa pdfcrop | xargs ls
>
> will execute 'ls --append-exe', but
>
> alias xargs='xargs '
> alias ls='ls --append-exe'
> find -pa pdfcrop -print0 | xargs -0 ls
>
> will not, unless you also:
>
> alias -- -0='-0 '
The bash man page says " A trailing space in value causes the next
word to be checked for alias substitution when the alias is
expanded." Got it. Thanks.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list