Oh, YUCK. [entries|reading|network|archive]
simont

[ userinfo | dreamwidth userinfo ]
[ archive | journal archive ]

Fri 2003-01-24 13:27
Oh, YUCK.
LinkReply
[personal profile] simontFri 2003-03-07 08:26
Re: Eviller even than that
So the execution trace looks very odd if your alias is defined on multiple lines, and looks plausibly normal if it's defined on only one? That seems slightly strange, but it sounds to me like a peculiarity of the execution trace mechanism rather than of the alias system.

I notice also that if you just set PS1 to ">>> " then this doesn't happen; there's some weird interaction between PS1 executing an actual command, and aliases, and set -x. Strange.
Link Reply to this | Parent | Thread
[identity profile] senji.livejournal.comSat 2003-03-08 18:52
Re: Eviller even than that
Indeed.
set -x doesn't apparantly make any difference, if you try a command that produces error output then it will produce error output three times with that value of PS1 (and twice more for every other command you execute in PS1).
Link Reply to this | Parent
navigation
[ go | Previous Entry | Next Entry ]
[ add | to Memories ]