home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.msdos.batch      Fun with MS-DOS batch files      42,547 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 42,209 of 42,547   
   Kenny McCormack to ivan@siamics.netNOSPAM.invalid   
   !: a bad idea (Was: The angle bracket in   
   15 Jun 23 21:39:20   
   
   XPost: comp.unix.shell   
   From: gazelle@shell.xmission.com   
      
   In article ,   
   Ivan Shmakov   wrote:   
   ...   
   >	It's also possible to disable history substitution altogether   
   >	with 'set +H'.   
   >   
   >	I believe this behavior is rather confusing to new users, and   
   >	given that C-r (reverse-search-history) and cursor keys already   
   >	offer a comparable feature, and one likely to fit better with   
   >	user's prior experience at that, my suggestion would be to   
   >	have it disabled by default.   
      
   I agree.  The ! thing was brought over into bash from (t)csh and it is   
   pretty universally a bad idea.  In fact, the rules for how it is handled   
   are even more confusing in bash than they are in (t)csh.  I can never tell   
   from looking at it whether or not it is going to try to trigger a history   
   expansion or not.   
      
   I may do as you suggest and disable it globally in my bash shells.   
      
   --   
   People sleep peaceably in their beds at night only because rough   
   men stand ready to do violence on their behalf.   
      
       George Orwell   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca