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
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to