Subject: Re: bashism for ksh
To: Aymeric Vincent <vincent@labri.fr>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-userlevel
Date: 01/29/2007 10:40:46
On Mon, 29 Jan 2007, Aymeric Vincent wrote:

> Christian Biere <christianbiere@gmx.de> writes:
> 
> > I'm a fan of this particular bashism:
> >
> > make >& make.log 

> Actually, it's a cshism (although it's a bit harder to pronounce).

Maybe also do:	|&

(Not for bash, but works in csh.)

> One thing I miss which is also a csh/bash'ism is using bang (!) to 
> re-execute a previous command (it's "fc -s" in sh) and the variation I 
> didn't find any equivalent for: "!?" to do the same but search anywhere 
> in the line, not just at the beginning.
> 
> I am interested to see what experts answer to your request and would
> also be interested to know if people would complain if "fc" grew the
> functionality of "!?" as another flag.

Sounds good to me. I think it was mentioned before and others agreed.

  Jeremy C. Reed