Subj : Re: gnu utils To : acn From : deon Date : Thu Jan 13 2022 21:04:58 Re: Re: gnu utils By: acn to MeaTLoTioN on Wed Jan 12 2022 04:13 pm > While you are totally right that the latter is much shorter and might > also be quicker, you have to _know_ and _remember_ that grep is able > to count on its own. > > Whereas knowing that "-c" in grep can count the occurances of a > certain thing in a file is kind of a one-off knowledge that might be forgotten sooner than later... The other point to keep in mind, is that different "unixes" have different "options" - but most unixes have the same core basic commands "cat", "grep", "wc", "awk" etc. So while and argument might work in Linux (like grep -c), the same argument in BSD might mean something different (in this case, with grep, it doesnt). (I've certainly come across that situation at times). ....лоеп --- SBBSecho 3.14-Linux * Origin: I'm playing with ANSI+videotex - wanna play too? (1337:2/101) .