[GRASS-dev] Re: [GRASS-SVN] r30420 - grass/trunk/scripts/v.db.renamecol

Maciej Sieczka tutey at o2.pl
Mon Mar 3 06:15:03 EST 2008


Hamish pisze:
> Ivan Shmakov wrote:
>> bash $ echo "hello, world!" 
>> bash: !": event not found
>> bash $ 
> ...
>> 	Moreover, it's an optional feature even in Bash (check the
>> 	``History expansion'' section in bash(1)):
> ...
>> 	In particular, this feature never gets enabled by default for
>> 	Shell scripts.
> 
> apparently "never" doesn't include Debian, where (IIRC) I had seen the
> "!" error oddly happening mid-script, before all the quoting fixes.

On Ubuntu Gutsy it's like Ivan says - echo "!" is ok in scripts, fails 
on command line.

I'm about to switch to Debian. I'll check this if not forget to.

Maciek


More information about the grass-dev mailing list