Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 05-11-2008, 11:59 PM   #1
LQ Newbie
Registered: May 2008
Posts: 2

Rep: Reputation: 0
Unhappy how to implement piping between different processes in Linux

I have been trying to implement pipes under Linux where the pipelines are set in a ring.(from process A to process B to process C and back to process A)
A should take a string argument of the form(2 + 3) and sends the data down to a pipe to B.
B should calculate the result and send the result to a C(a python process)
C should pipe "The answer is xxx" to A, which will then output it to the std output.
Please help.
Old 05-12-2008, 12:13 AM   #2
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,138

Rep: Reputation: 168Reputation: 168
How far have you been able to get so far? Can you clarify whether this is a home work question?

Also, please don't double-post.
Old 05-16-2008, 09:51 AM   #3
Senior Member
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
The closed duplicate is here.

There was 1 response with help before it was closed:
Originally Posted by Hko View Post
See paragraph 5.4 of this PDF.
Be warned however, the PDF requires major horizontal scrolling to read & is therefore almost not worth looking at. Does anyone know a (preferably KDE) app. that can easily edit this to a more readable format?

Meanwhile I sent an e-mail of complaint to & composed a new original aphorism-riddle:

What is the difference between Thomas Becket & horizontal scrolling? . . .

Becket was a pain in the Royal Arse, horizontal scrolling is a Royal pain in the arse.

-- archtoad6 aka Rick Archibald (c) 2008, use only with attribution


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
How can I implement a caret on Linux? antoniog General 2 06-23-2007 08:54 AM
How to implement linux firewall redundancy? ahmedken Linux - Security 3 02-22-2007 10:08 AM
Piping output between processes. C. banan Programming 1 11-12-2006 11:25 PM
Piping keyboard input to two processes (or threads) caffeinebot Programming 3 05-17-2005 04:51 PM
Piping Processes (a little different) mackie_lin Programming 4 12-27-2002 08:17 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:35 PM.

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