Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Cat Abuse

Name: Anonymous 2012-10-18 0:25

...in Unix 8th edition...

...as documented by cat-v...

http://man.cat-v.org/unix_8th/5/whoami

The irony.

Name: Anonymous 2012-10-18 0:32

Just one question >>1-san, what is the proper way to print a file stdin?

Name: Anonymous 2012-10-18 0:33

>>2
a file to stdout?
FTFY

Name: Anonymous 2012-10-18 0:51

So why did Uriel off himself?

Name: Anonymous 2012-10-18 0:53

cat file | grep pattern

none of you faggots is going to stop me

Name: >>1-san 2012-10-18 2:01

>>2
Don't ask me, I abuse cat like it was my child.

Name: Anonymous 2012-10-18 2:05

>>1
This will make great flamebait.

>>2
cat [file] >/dev/stdin

Name: Anonymous 2012-10-18 4:07

>>7
lol, thanks. I think we just made another fork bomb.
cat [log|file|program> that never ends] &2>1 /dev/stdin

Name: Anonymous 2012-10-18 8:48

>>2
Don't ask >>6, I abuse his child like it was a cat.

Name: Anonymous 2012-10-18 10:55

Not even Uriel claimed cat cannot be used this way. I remember reading one of the original UNIX documents ("UNIX: A Time-sharing Operating System" or something) and it even mentions this. You're allowed to use it for tasks other than concatenating files, you're just not allowed to use it to display non-printing characters because for some reason that belongs in a separate program.

Name: Anonymous 2012-10-18 11:15

>>10
OP is a /g/eek Squad employee.

Name: Anonymous 2012-10-19 0:01

>>5
I think I do this because it leaves the pattern on the end of the line, which makes it easier to retrieve the command from the history using the cursor keys and mung it until it works.

Don't change these.
Name: Email:
Entire Thread Thread List