|Welcome to the Monastery|
Re^3: How to write a program to read stdin or command line?by BrowserUk (Pope)
|on Oct 02, 2007 at 17:35 UTC||Need Help??|
if that's what the OP means by "stdin or command line",
Seems it was.
you could also use -p instead of -n:
You could, but I wouldn't as it is less flexible than -n.
If you want to omit some lines from the output, you can't do that if you are also using -l
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.