🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.4bsd
Article #376

Re: A serious bug in unix2dos/dos2unix

#376
From: Paul Bijnens
Date: Fri, 18 Dec 1992 18:20
20 lines
1255 bytes
In article <id.87XV.OQH@ferranti.com>, peter@ferranti.com (peter da silva) says:
>
>Agreed. NO program on UNIX should EVER use the
>
>        command inputfile [outputfile]
>
>syntax. It's dangerous, counterintuitive (you can't use it as a filter), and
>inflexible. Indent does the same thing, which is why I have indent in a script
>that does "indent -st" here.

And don't forget "uniq"; it hasn't even a flag... :-(

Does anyone actually USE the behaviour of such programs?
(I mean: specifying the outputfile as an optional second argument)
Will there a lot of scripts be broken when you change this stupid
syntax?
--
Paul Bijnens             -- MS-DOS is the world's most widespread virus.
Linguistics dept., K. University Leuven, Belgium
Polleke@cc1.kuleuven.ac.be
Technical Details
Message-ID: <92353.182041FFAAC09@cc1.kuleuven.ac.be>
Path: arc1-ca.pugleaf.net!sparky!uunet!news.univie.ac.at!blekul11!ffaac09
References: <1992Dec12.224109.15621@cs.mcgill.ca> <2527@ispi.COM> <zierke.724493009@rzdspc24> <id.87XV.OQH@ferranti.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!news.univie.ac.at!blekul11!ffaac09
Organization: K.U.Leuven - Academic Computing Center
Date: Friday, 18 Dec 1992 18:20:41 +01
From: Paul Bijnens <FFAAC09@cc1.kuleuven.ac.be>
Message-ID: <92353.182041FFAAC09@cc1.kuleuven.ac.be>
Newsgroups: comp.bugs.4bsd
Subject: Re: A serious bug in unix2dos/dos2unix
References: <1992Dec12.224109.15621@cs.mcgill.ca> <2527@ispi.COM>
 <zierke.724493009@rzdspc24> <id.87XV.OQH@ferranti.com>
Lines: 20