Re: Writing a unix command prompt
- From: Robert Harris <robert.f.harris@xxxxxxxxxxxxxxxx>
- Date: Sun, 29 Jan 2006 13:54:05 GMT
repairman2003@xxxxxxxxx wrote:
I'm writing a command prompt for unix and I've run into some problems:
[snip]
The problems 1. The workaround listed above. 2. One argument commands work fine but multiple doesn't. Eg. ls -a works fine, ls -al works fine but ls -a -l doesn't work. Any subsequent commands that don't have arguments don't work either, eg. ls works, then ls -a works, but ls again doesn't work.
Any help is greatly appriciated!
use getopt(3) to parse your command line.
Robert
.
- Follow-Ups:
- Re: Writing a unix command prompt
- From: Barry Margolin
- Re: Writing a unix command prompt
- References:
- Writing a unix command prompt
- From: repairman2003
- Writing a unix command prompt
- Prev by Date: Re: Grep / Bash problem
- Next by Date: Re: Writing a unix command prompt
- Previous by thread: Writing a unix command prompt
- Next by thread: Re: Writing a unix command prompt
- Index(es):