🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Sam Kendall Sat, 08 Sep 1984 05:37
Another bug in 4.2 lint argument parser; csh deficiency
#298
Author: Sam Kendall
Date: Sat, 08 Sep 1984 05:37
18 lines
1464 bytes
I've looked at the 4.2 lint shell script, and the problem with -I noted
by rlgvax!peter is not its only problem.  Some, ah, hacker rewrote
it from Bourne shell into C shell, adding the bug with -I, and also
adding the following problem: half the error messages go to stdout, and
the other half go to stderr, which is fun if you want to pipe the
messages to a file.  In the Bourne shell script this problem is
eliminated by the simple statement

	exec 2>&1

which, for you C shell enthusiasts out there, redirects stderr to stdout
for the remainder of the script--a thing which, as far as I can tell by
reading that 22-page manual page, cannot be done in the C shell.  Sorry
if I sound a little anti-C shell here; I just don't like 22-page manual
pages.

	Sam Kendall	  {allegra,ihnp4,ima,amd}!wjh12!kendall
	Delft Consulting Corp.	    decvax!genrad!wjh12!kendall
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