![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Bourne-again shell | mrsamer | UNIX for Dummies Questions & Answers | 3 | 09-30-2006 02:42 AM |
| Shell Script - compression | noodlesoup | Shell Programming and Scripting | 1 | 09-04-2006 02:18 AM |
| Finding Compression Ratios | nortypig | Shell Programming and Scripting | 3 | 08-22-2006 10:59 PM |
| cd from a Bourne Shell Script - Please Help | fawqati | Shell Programming and Scripting | 10 | 05-25-2006 03:26 AM |
| Bourne Shell scripting help | PoloRL185 | Shell Programming and Scripting | 1 | 05-13-2005 12:09 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
finding compression ratio in Bourne shell
in the instance of a file compressed with compress to a .Z extension...
how would I, in the Bourne Shell, capture its compression ratio? Gunzip returns -1 and I'd then gone down the track of roughly calculating the ratio (not including time) manually. Until I found out the Bourne Shell doesn't do calculations! So I am perplexed. I am stuck in the Bourne Shell, I'm not permitted to use anything else - what function returns the compression ratio in a manner I can capture. There was one process with a -v verbose option but it would not pipe to echo or > to a file from memory. Strategically stuck is the phrase. ![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|