13

Passing gunzipped filename to a variable

view full story
linux-howto

http://www.unix.com – Hi , Am trying to gunzip a file and pass the gunzipped file name to a variable , but its not taking up the value. Am trying to execute the command f=`gunzip <filename>`;echo $f. Here the file is getting gunzipped but the file name is not assigned to the variable. Any help on this will be useful. Am trying to rename the gunzipped file to a specific format . Thanks. (HowTos)