tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Anyway to get the actual command line?
@ 1999-09-10 19:23 Mohan
  0 siblings, 0 replies; only message in thread
From: Mohan @ 1999-09-10 19:23 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-09-10 19:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-09-10 19:23 Anyway to get the actual command line? Mohan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox