Doug Barton:

> >     export VAR=value
> The problem with that option is that it's not portable.

It's just as portable as "set -o" and "alias". None of them are
available in the original Bourne shell, all of them in the POSIX
shell.

> >     alias r='fc -s'
> 
> Hrrmm... ok. I have no experience with that, but I wouldn't object to its
> inclusion.

It's a pre-defined alias in ksh where the entire POSIX history
scheme is taken from. Roughly, it's the equivalent to the csh '!'
history substitution, although less powerful. Use "r" to repeat
the last command, "r cmd" to repeat the last command "cmd", and "r
foo=bar ..." to effect a substitution on the recalled command line.

-- 
Christian "naddy" Weisgerber                  [EMAIL PROTECTED]


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to