![]() |
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 |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [BASH] redirect standard error and use it inside | Pescator | Shell Programming and Scripting | 2 | 03-03-2008 09:20 AM |
| redirect only the standard error output to mail | barkath | Shell Programming and Scripting | 3 | 02-08-2008 08:41 PM |
| failure writing network systems-ftp error | DILEEP410 | UNIX for Dummies Questions & Answers | 0 | 04-26-2007 11:03 AM |
| redirect standard error into log file | epall | UNIX for Dummies Questions & Answers | 7 | 05-09-2006 06:29 AM |
| Error: Internal system error: Unable to initialize standard output file | firkus | UNIX for Dummies Questions & Answers | 2 | 10-25-2005 03:23 PM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Writing to Standard Error
Hi.
I'm working on a project for a class, and there's one part of the project that is confusing me. It's a compression and decompression project, and after we write our code for compression, we need to write to standard error. (1) Size of original file (number of characters read from standard input) (2) size of compressed file (number of characters written to standard output) (3) compression ratio: (orig file size - compressed file size) / original file size. Now, in my code, I've already determined the size of the original file. And I'm pretty sure I can figure out how to find the size of the compressed file. And the compression ratio, then from those two values, are quite obvious. Is this all that I need? However, the project says to write to STANDARD ERROR. What does that exactly mean? I've tried to google it, but I still don't understand. Could anybody please bring some light into this situation? Thanks so much... |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|