Csh, alias substitution, & backslash

Maarten Litmaath maart at cs.vu.nl
Wed Nov 14 05:25:31 AEST 1990


In article <6663 at ge-dab.ge.com>,
	brooks at ge-dab.ge.com (Stephen Brooks) writes:
)...
)        % alias rm
)        rm -i
)        % alias cd
)        cd !* ; pwd
)
)However, why does "\rm" work, but "\cd" does not?  [...]

Feature.  An initial backslash prevents both alias substitution and
builtin interpretation.  If you want to skip aliases only, use this:

	% ''cd
or
	% ""cd
--
nreadwin at micrognosis.co.uk (Neil Readwin) on "snuff" films:
"Seen one ? I was *in* one. They tortured me horribly and then killed me
 with a single shot in the back of the head ! Following total brain death
 I gave up acting and became a VMS hacker."



More information about the Comp.unix.questions mailing list