Unix Shell - Problem in writing a shell

This is Interesting: Free IT Magazines  
Home > Archive > Unix Shell > May 2007 > Problem in writing a shell





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Problem in writing a shell
simalseytani@gmail.com

2007-05-17, 7:18 pm

i am coding a shell with exec commands for a hw
i am in a trouble when i want to enter commands such that:
ls *.txt
cat *.txt

ls and cat are working well except this situation.
What must i code to correct this thing?
Thanks.

Barry Margolin

2007-05-18, 1:18 am

In article <1179441211.329927.57310@e65g2000hsc.googlegroups.com>,
simalseytani@gmail.com wrote:

> i am coding a shell with exec commands for a hw
> i am in a trouble when i want to enter commands such that:
> ls *.txt
> cat *.txt
>
> ls and cat are working well except this situation.
> What must i code to correct this thing?


man 3 glob

--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com