Sam Trenholme's webpage
This article was posted to the Usenet group alt.hackers in 1995; any technical information is probably outdated.

Re: Did I get in?


Article: 7826 of alt.hackers
From: davef@glenatl.glenayre.com (Dave Frascone)
Newsgroups: alt.hackers
Subject: Re: Did I get in?
Date: 15 May 1995 18:05:38 GMT
Organization: Glenayre Electronics, Inc.
Lines: 32
Approved: by God
Message-ID: 3p855i$lu2@babylon5.glenqcy.glenayre.com
Reply-To: davef@glenatl.glenayre.com
NNTP-Posting-Host: phoenix.glenatl.glenayre.com
X-Newsreader: TIN [version 1.2 PL2]
Status: RO

Steven M. Loranz (sloranz@xantham.res-hall.nwu.edu) wrote:
: On 12 May 1995, Jeremy Todd Dilatush wrote:

: > Steven M. Loranz (sloranz@xantham.res-hall.nwu.edu) wrote:
: > : didn't want.  I know...this is lame and is well known amongst the UNIX
: > : gods...but I felt good that I could fix it without too much thought
: >
: > Using "cat" to edit a file is damn simple (I do it because
I'm too lazy often
: > to fire up emacs or learn vi) ... using it when you need to fix
something
: > should count as a hack, though.
: >
: > A _real_ hack is when you don't have "cat" so you write
a script
: > (ObHack:)
: > #!/bin/sh
: > tee /dev/null
: >

: Ouch!!!  Damn...I said I knew it was lame...I even put a question mark
: after the ObHack to stress that...but I couldn't think of anything
: recently that was a way to fix a problem.

: So what did you write the script with if you didn't use an editor and
: didn't have cat?

cp would have worked:

cp /dev/tty file


Later,

dave



Parent Parent Parent

Back to index