Can tcsh report 'command had no output'?

Kelly Jones kelly.terry.jones at gmail.com
Sun Oct 12 16:30:27 UTC 2008


Can I force tcsh to say "previous command returned empty stdout" or
something? I often cut and paste shell output for my cow-orkers, and
it's crucial to note when a command returns nothing.

Currently, I insert the information manually:

> ls | fgrep 'phrase'
[no results]

but it'd be nice if tcsh had a setting to do this automatically?

-- 
We're just a Bunch Of Regular Guys, a collective group that's trying
to understand and assimilate technology. We feel that resistance to
new ideas and technology is unwise and ultimately futile.


More information about the freebsd-questions mailing list