🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Jeff Sparkes Thu, 14 Sep 1989 15:42
problems with !
#587
Author: Jeff Sparkes
Date: Thu, 14 Sep 1989 15:42
21 lines
963 bytes
bash-1.03 on a sun4 - sunos4

	I've run into two problems with using ! in non-history mode.
The first is that history expansion takes place even when ! is in quotes,
either single or double.  The second occurs when I have a filename containing
!.  If I escape the !, ~ expansion no longer occurs.

$ ls xx
xx not found
$ echo "!ls"
ls": Event not found.
$ ls ~/lisp/pp.el
/users/cs/staff/jeff1/lisp/pp.el
$ echo ~/lisp/!myinit.el
myinit.el: Event not found.
$ echo ~/lisp/\!myinit.el
~/lisp/!myinit.el
-- 
Jeff Sparkes	jeff1@garfield.mun.edu || uunet!garfield!jeff1

					
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads