From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <07d201c3aae3$31773560$b9844051@insultant.net> From: "boyd, rounin" To: <9fans@cse.psu.edu> References: <200311141812.hAEICkF03693@plg2.math.uwaterloo.ca> Subject: Re: [9fans] v8 shell MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit Date: Fri, 14 Nov 2003 20:12:05 +0100 Topicbox-Message-UUID: 89aba1ea-eacc-11e9-9e20-41e7f4b1d025 > > $ ls() { > > builtin ls "$@" | cat > > } > > $ ls > > -bash: builtin: ls: not a shell builtin > > $ > > Try using "command" instead of "builtin". that is not how builtin works. builtin works like this: cd() { builtin cd $1 && PS1="`pwd` % " } now 'command' that is an impressive piece of logic.