% /bin/sh -c /bin/ls -l -R ???

Rudrakshala Purushotham rudrak at saphir.cl.bull.fr
Fri Nov 16 21:19:00 AEST 1990


I want run the command in subject from c-shell prompt. The problem is 
it goes through .login and runs /bin/ls only. 
I tried 

% /bin/sh -c "/bin/ls -l -R"

it works as expected. What are the other ways of doing this. How does 
shell escape functions handle this in a C program using execv () ?

Thanks for any help in advance.

-- Purush


-- 
R. Purushotham                          Email: rudrak at saphir.cl.bull.fr
F7 1 D5 BULL SA                         Tel Off: 34627000 ext 3928
78340 Les Clayes sous Bois  FRANCE      Tel Res: 34604752
=======================================================================



More information about the Comp.unix.shell mailing list