ECS Home Automation and Security Archives
  learn more | view messages for this month | NetBloc® | terms of use | search

Google
 


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects

Subject:
From:
Date:
linux question
Mark Gilmore
Tue, 15 Feb 2005 15:46:20 -0800

how can a C pgm obtain the "original" command which triggered it's execution ?:
i.e.: if i enter:
         mypgm *.c
main()'s arg[...] will be a list of each .c file.
But what I need is the "*.c" (i.e. what was actually entered - not the 
shell's interpretation).
Thanks,

Mark Gilmore
http://OmnipotenceSoftware.com 


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005



  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects




Services provided by [NetBloc]®! NetBloc Solutions Inc.
Terms of use. Indexing software (c) 1999 Lin-De, Inc
.