From: Mohan <mkannapa () ford ! com>
To: tru64-unix-managers
Subject: Anyway to get the actual command line?
Date: Fri, 10 Sep 1999 19:23:00 +0000 [thread overview]
Message-ID: <96079072816022.tru64-unix-managers.marc@archive.invalid> (raw)
Greetings,
I have a simple question, is there a way to get the
original unmodified command line in a program w/o
any shell expansion etc?
I.e say if i have my own "mcp" program and if i type in:
$ mcp *.c xyz
if there a way to get
argv[0]="mcp"
argv[1]="*.c"
argv[2]="xyz"
instead of
argv[0]="mcp"
argv[1]="xx.c"
argv[2]="xxx.c"
...
argv[last]="xyz"
I know this iis probably not possible, thought I would give it
a shot.
Thanks
Mohan
reply other threads:[~1999-09-10 19:23 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox