LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Closed Thread
  Search this Thread
Old 10-31-2005, 09:01 AM   #1
ibra82
LQ Newbie
 
Registered: Oct 2005
Posts: 1

Rep: Reputation: 0
can any1 solve me this prob pls!


Implement a shell that can handle an input of the form
cmd1 [ <input ] [ | cmd2 ] [ >output ]
Where the square brackets refer to an optional input. For example, your shell should
process all, but not limited to, the following inputs
• cmd1
• cmd1 < input
• cmd1 | cmd2
• cmd1 < input > output . . .
 
Old 10-31-2005, 10:02 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Is this homework? It is isn't it?
 
Old 10-31-2005, 10:16 AM   #3
RedShirt
Senior Member
 
Registered: Oct 2005
Location: Denver
Distribution: Sabayon 3.5Loop2
Posts: 1,150

Rep: Reputation: 45
That is exactly what I thought Xavier, and why I didn't want to help out, or even really ask about it. Looks exactly like a C/Unix textboox problem I had in college.
 
Old 10-31-2005, 03:30 PM   #4
phsythax
Member
 
Registered: Oct 2005
Location: Denmark
Distribution: Gentoo & XP pro for gaming
Posts: 152

Rep: Reputation: 30
why dont you guys give the guy a little hint or someting? apperentley he needs help.
 
Old 10-31-2005, 04:13 PM   #5
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
Because when we all signed up to LQ, we agreed to abide by the Rules. One of which is
Quote:
Do not expect LQ members to do your homework - you will learn much more by doing it yourself.
Besides, if we tell him how to solve it, how will he learn or learn to research? As I say, very regularly, if anyone has a problem with a course they are taking, they should talk to their teacher - we will simply be masking an underlying problem if we solve it for him.
 
Old 11-01-2005, 12:02 PM   #6
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 67
Closed.. do your homework on your own time, not ours.

phsythax, Just to let you know... this question isn't exactly trivial. I'd be inclined to help him if he had a specific question about something but "implement a shell" is a pretty broad question that sounds a lot like "complete my assignment for me".

If his question was "I'm implementing a shell and I've coded xyz this way and it isn't quite working, you ideas?" the reception would probably be warmer... though it would also belong in the Programming forum

Last edited by jtshaw; 11-01-2005 at 01:04 PM.
 
  


Closed Thread



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
Any1 using or have experience with DigiChat? latino Linux - Software 6 07-01-2011 07:41 PM
can any1 help me 4 C language in redhat? paschim Linux - Software 4 09-18-2004 10:39 AM
pls pls pls help me ! i'm tired with httpd config on fedora apache 2.0.48 AngelOfTheDamn Fedora 0 01-24-2004 05:12 PM
Can any1 help on Slackware? John Silva Linux - Software 4 10-29-2003 11:50 AM
Any1 know of such an application? Q25 Linux - Networking 0 06-10-2001 09:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:12 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
Open Source Consulting | Domain Registration