On Tue, Nov 3, 2015 at 10:23 PM, dan mclaughlin <[email protected]> wrote: > On Wed, 04 Nov 2015 01:05:38 -0500 dan mclaughlin <[email protected]> > wrote: >> >> also wondering how to get equivalent functionality. maybe there's a better >> way, but off the top of my head i can only think of: >> >> grep -n .* | tail -1 | sed 's/:.*//' >> > > ack. thought of this right after sending: grep -c .*
Yep. That can be simplified to: grep -c '' Philip Guenther
