Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: strace completion (Re: grouping/joining _values)
- X-seq: zsh-users 12929
- From: Stephane Chazelas <Stephane_Chazelas@xxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: strace completion (Re: grouping/joining _values)
- Date: Sun, 15 Jun 2008 09:37:12 +0100
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <080614084154.ZM11958@xxxxxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20080607193937.GA14443@xxxxxxxxxxxxxxxx> <20080613002731.GA11526@xxxxxxxxxxxxxxxx> <20080613113302.GA40053@xxxxxxxxxxxxxxxxxxxx> <20080613121226.GA18890@xxxxxxxx> <20080613131851.GA12764@xxxxxxxxxxxxxxxxxxxx> <20080613160458.GM5113@xxxxxxxxxxxxxxx> <20080613191905.GN5113@xxxxxxxxxxxxxxx> <20080613235914.GP5113@xxxxxxxxxxxxxxx> <20080614084949.GQ5113@xxxxxxxxxxxxxxx> <080614084154.ZM11958@xxxxxxxxxxxxxxxxxxxxxx>
On Sat, Jun 14, 2008 at 08:41:54AM -0700, Bart Schaefer wrote:
[...]
> } zmodload zsh/mapfile
> } eval 'tmp=(' =(
> } print -rn -- ${mapfile[/usr/bin/strace]//strcmp/printf}) ')
> } chmod u+x $tmp
> } $tmp -e $'"'%s\n'"' 2> /dev/null | sort -u'
[...]
> Clever as that seems to be, though, it doesn't work on my CentOS 4 system.
> Using "ltrace -e printf $tmp ..." without the 2> shows a bunch of printf
> calls, but none of the output ever appears.
[...]
Thanks Bart,
how disapointing. Could you please send me your binary of strace
so that I can try and understand how this can happen?
I was quite confident it would work as it worked on old RHEL
x86, new debian x86 and old Solaris sparc (with truss).
regards,
Stéphane
Messages sorted by:
Reverse Date,
Date,
Thread,
Author