I want to define an alias like:
alias show 'if ($?\!:1) then \
if ($#\!:1) then \
echo "\!:1 = $\!:1" \
else \
echo "\!:1 is set" \
endif \
else \
echo "\!:1 is not set" \
endif'
But the "\" at the end of each line doesn't embed a newline into the alias
as needed for the if-then-else to work right.
Is there any way to embed newlines into alias definitions?
Mike Khaw
--
usenet: {hplabs|sun|ucbvax|decwrl|sri-unix}!mkhaw%teknowledge-vaxc.arpa
USnail: Teknowledge Inc, 1850 Embarcadero Rd, POB 10119, Palo Alto, CA 94303