On Tuesday 25 December 2007, Andreas Schwab wrote:
> Andreas Schwab <[EMAIL PROTECTED]> writes:
> > Brian Dessent <[EMAIL PROTECTED]> writes:
> >> "Daniel C. Bastos" wrote:
> >>> I always miss these two programs on every system I meet. argv0 is very
> >>> handy when dealing with programs that care about argv[0] and psfool is
> >>> essential when giving out passwords through the command line. I figure
> >>> these two should be in coreutils.
> >>
> >> perl -e 'exec { "real" } "fake", "arg1", "arg2"'
> >
> > bash -c 'exec -a "$0" "$@"' real fake arg1 arg2
>
> That should of course be:
>
> bash -c 'exec -a "$0" "$@"' fake real arg1 arg2

perhaps a "contrib" subdir with small scripts like this ?
-mike

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

_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to