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
- Re: Proposed new Bourne shell init files Warner Losh
- Re: Proposed new Bourne shell init files Doug Barton
- Re: Proposed new Bourne shell init files Sue Blake
- Re: Proposed new Bourne shell init files Doug Barton
- Re: Proposed new Bourne shell init files Garance A Drosihn
- Re: Proposed new Bourne shell init files Doug Barton
- Re: Proposed new Bourne shell init files Sue Blake
- Re: Proposed new Bourne shell init files Doug Barton
- Re: Proposed new Bourne shell init files Christian Weisgerber
- Re: Proposed new Bourne shell init files Doug Barton
- Re: Proposed new Bourne shell init files Christian Weisgerber
- Re: Proposed new Bourne shell init files Doug Barton
- Re: Proposed new Bourne shell init f... Chris Costello
- Re: Proposed new Bourne shell i... Doug Barton
- Re: Proposed new Bourne she... Chris Costello
- Re: Proposed new Bourne shell init f... Christian Weisgerber
- Re: Proposed new Bourne shell init files Roger Marquis