empty_args.tests 150 B

123456789
  1. echo Null 0th arg:
  2. ""
  3. echo $?
  4. echo Null 1st arg:
  5. # printf without args would print usage info
  6. printf ""
  7. echo $?
  8. echo Null arg in exec:
  9. exec printf ""