cat list.txt |java os.mindyph $1 >list2.txt

cat list.txt |java os.mindyph $1 >list2.txt

Post by l.. » Sun, 16 Apr 2000 04:00:00



I'm confused of what this above line does.
What does the cat list.txt do the java os.mindyph $1 ?

What is piped to list2.txt ?

thanks a million

 
 
 

cat list.txt |java os.mindyph $1 >list2.txt

Post by Barry Margoli » Tue, 18 Apr 2000 04:00:00




>I'm confused of what this above line does.
>What does the cat list.txt do the java os.mindyph $1 ?

It feeds the contents of the list.txt file as standard input to the java
command.  $1 is replaced by the first command-line argument to the script
that the line appears in.

Quote:>What is piped to list2.txt ?

The output of the java command.

--

Genuity, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.