Questions

1:Add tar file extraction to the mytar script.

Assume that the -x option indicates that the user wants to extract tar files and that the correct value of TARGS for extracting tar files is -xvf.

2:Add the extract option to the uu script. Assume that the -x option indicates that the file should be extracted, and that the command
uudecode $INFILE

is used to extract a uuencoded file.

Get Sams Teach Yourself Shell Programming in 24 Hours, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.