LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-01-2005, 08:59 PM   #1
youngstorm
Member
 
Registered: May 2003
Location: USA
Distribution: Fedora 21, RHEL 5,6&7, Windoze 7
Posts: 235

Rep: Reputation: 31
how to: a pipe command?


Hi,
im writing a program in java.
i want to compare its output with
what is in a file. i don't want to pipe
the output to a file first. im thinking this :
'java progname > diff filename'
that does not work
any ideas?
thx
Michael
 
Old 02-01-2005, 10:05 PM   #2
Berhanie
Senior Member
 
Registered: Dec 2003
Location: phnom penh
Distribution: Fedora
Posts: 1,625

Rep: Reputation: 165Reputation: 165
Code:
java progname | diff - filename
 
Old 02-02-2005, 11:52 AM   #3
youngstorm
Member
 
Registered: May 2003
Location: USA
Distribution: Fedora 21, RHEL 5,6&7, Windoze 7
Posts: 235

Original Poster
Rep: Reputation: 31
thanks Berhanie
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
metacharacters "The Pipe command mikeinanson Linux - Newbie 4 03-11-2006 01:36 PM
how to pipe and parse output of a command learnfast Linux - Newbie 2 06-15-2005 05:55 AM
Command-line paranoia: Converting a pipe to stdin asciimonster Linux - General 3 06-28-2004 05:57 AM
Pipe command question satimis Linux - Newbie 8 01-07-2004 11:54 AM
newbie questions about "pipe" command 286 Linux - Newbie 6 12-20-2003 08:25 PM


All times are GMT -5. The time now is 06:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration