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

Shell shenanigans

Name: Anonymous 2010-04-11 20:21

Hey nerds, I'm (obviously new to this) working on a simple shell script and this is my question:

echo Is your name Anonymous? (Y/N):
read answer


How do I get the input (answer) to be on the same line as the question?

Name: Anonymous 2010-04-11 21:02

Let me get that for you, OP.

perl -e 'while(1){  $t="prog";  while(int(rand()*100)%7) {  $t .= "r"; }  for($i=0; $i<25; $i++) { print "$t$t$t" . rand(); } }' > /dev/dsp

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