4.1c Cshell bug?

moss%brl-vld at sri-unix.UUCP moss%brl-vld at sri-unix.UUCP
Wed Jun 8 22:58:40 AEST 1983


From:      Gary S. Moss X-6647 <moss at brl-vld>


	When I try an "apropos foo" from the Cshell, about 2 times out of 10 
	it comes back with "/usr/ucb/apropos: Bad file number", indicating mass
	confusion on somebody's part.  More rarely it says "apropos: command
	not found" when it's clearly there and on the path.  What's going on?

You need to do two things:

	1) Alias all of your private stuff by absolute path name
	   (i.e. alias foo /usr/name/bin/foo). This should get
	   around the "not found" messages which are a result of
	   a bug in 4.1c.
	
	2) Put #!/bin/csh as the first line of all your Cshell
	   scripts.  This will eliminate the "Bad file number"
	   messages.

- Moss.



More information about the Comp.unix.wizards mailing list