Update of /cvsroot/ldapsh/ldapsh
In directory sc8-pr-cvs1:/tmp/cvs-serv27967
Modified Files:
ldapsh
Log Message:
Auto-quote arguments for "which" (same as for "help").
Index: ldapsh
===================================================================
RCS file: /cvsroot/ldapsh/ldapsh/ldapsh,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** ldapsh 27 Jul 2003 05:20:40 -0000 1.17
--- ldapsh 27 Jul 2003 06:30:55 -0000 1.18
***************
*** 2083,2087 ****
# complaining that "ou=Users" it's an illegal variable set, and
# that uses a bareword....
! s/^(cd|acd|setdn|pushd|lcd|help)\s+((?:[^'"].*)?[^'"])$/$1 "$2"/;
# The line below will quote some barewords such as "-l", "-a" etc...
--- 2083,2087 ----
# complaining that "ou=Users" it's an illegal variable set, and
# that uses a bareword....
! s/^(cd|acd|setdn|pushd|lcd|help|which)\s+((?:[^'"].*)?[^'"])$/$1 "$2"/;
# The line below will quote some barewords such as "-l", "-a" etc...
|