Path: utzoo!utgpu!cs.utexas.edu!rutgers!phoenix.princeton.edu!qpliu From: qpliu@PHOENIX.PRINCETON.EDU (q.p.liu) Newsgroups: alt.hackers Subject: Re: Something fun Message-ID: Date: 6 Mar 91 16:38:41 GMT References: <4669@eastapps.East.Sun.COM> Sender: nobody@rutgers.rutgers.edu Reply-To: qpliu@phoenix.princeton.edu Organization: Pwinceton Uniwersity Lines: 20 Approved: nobody@rutgers.rutgers.edu In article <4669@eastapps.East.Sun.COM> gaudreau@juggler.East.Sun.COM (Joe Gaudreau (Spaced for Rent)) writes: > for (x = *argv; *argv; argv++) { > for (p = *argv; *p; p++) { > *p = ' '; > } > } > strcpy(x, "x"); Already done by [t]csh: [2 lyman:11:33:12] csh lyman% ps PID TT STAT TIME COMMAND 15926 p0 S 0:00 /usr/gnu/bin/bash -i 15930 p0 S 0:00 -sh (csh) 15931 p0 R 0:00 ps 15855 q7 I 0:01 -bash (bash) 15890 q7 S 0:27 emacs -f vm lyman% [2 lyman:11:33:56]