[Pc_Support] Re: LUNA: Linux sh question ....

William A. Mahaffey III wam at HiWAAY.net
Mon Jan 16 17:46:31 EST 2006


pfpearson at mchsi.com wrote:

>I don't know about sh, but the '-f' setting is a csh argument to not read in the
>startup file (.cshrc).
>
>--
>We all laugh in the same language
>
>
>
>  
>
>>Rob Lemley wrote:
>>
>>    
>>
>>>Hmmmm.  Have you somehow turned of 'globbing' in the shell?  Do you 
>>>have anything with a "-f" or "noglob" somewhere?  Like
>>>
>>>#!/bin/bash -f
>>>
>>>or
>>>
>>>set -o noglob
>>>
>>>or
>>>
>>>set -f
>>>
>>>or
>>>
>>>GLOBIGNORE=...
>>>
>>>or
>>>
>>>??
>>>
>>>-Rob
>>>
>>>      
>>>
>>Oooooohhhh, I *think* we have a winner. I do indeed have '#!/bin/sh -f' 
>>as the 1st line of the script. I thought that just disabled my .profile 
>>settings & nothing else, but I am *wrong*, no ? I will try removing the 
>>offending '-f' & see how it runs this evening, thanks :-).
>>
>>
>>-- 
>>	William A. Mahaffey III
>>    
>>

Yep, old csh habits die hard ....

-- 
	William A. Mahaffey III

 ----------------------------------------------------------------------

	"The M1 Garand is without doubt the finest implement of war
	 ever devised by man."
                           -- Gen. George S. Patton




More information about the Pc_support mailing list