previous | start | next

Shell Parsing Problem

Some possible user input commands for job control (not all correct):

Some correct commands (assuming the pid and job numbers are valid

fg 1400
fg %2      
fg
   

Some invalid commands

fg 99999999
fg a
fg
   

In each case when do_bgfg(argv) is called, what will be in the string array argv?



previous | start | next