[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: argve0, psfool
From: |
Jim Meyering |
Subject: |
Re: argve0, psfool |
Date: |
Fri, 28 Dec 2007 09:24:15 +0100 |
Mike Frysinger <address@hidden> wrote:
> On Tuesday 25 December 2007, Andreas Schwab wrote:
>> Andreas Schwab <address@hidden> writes:
>> > Brian Dessent <address@hidden> 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 ?
I'd like to see them added to the list for the misc-utils
project that people have proposed to create.
Pádraig, are you still interested in doing that?
- argve0, psfool, Daniel C. Bastos, 2007/12/24
- Re: argve0, psfool, Mike Frysinger, 2007/12/24
- Re: argve0, psfool, Brian Dessent, 2007/12/25
- Re: argve0, psfool, Andreas Schwab, 2007/12/25
- Re: argve0, psfool, Andreas Schwab, 2007/12/25
- Re: argve0, psfool, Mike Frysinger, 2007/12/27
- Re: argve0, psfool,
Jim Meyering <=
- Re: argve0, psfool, Pádraig Brady, 2007/12/28
- Re: argve0, psfool, Daniel C. Bastos, 2007/12/28