Wietse Venema <[EMAIL PROTECTED]> wrote:

> > How is the output of cut in last example "garbage"?
> 
> The queueID string length depends on the file system.

Yep, the first example was wrong, but the revised version extracts 
queueIDs of any length from the active queue. Another example that would 
extract queueIDs (active or not) might be something like:

% mailq | grep '^[[:alnum:]]' | grep sender | tr -d '*!' | cut -d \  -f 1

There are many (and certainly more elegant) ways to do this, but I 
would like to understand why the output of cut, in and of itself, is 
considered garbage.

-- 
Sahil Tandon <[EMAIL PROTECTED]>

Reply via email to