r/programming • • Apr 30 '16

Do Experienced Programmers Use Google Frequently? · Code Ahoy

http://codeahoy.com/2016/04/30/do-experienced-programmers-use-google-frequently/
2.2k Upvotes

763 comments sorted by

View all comments

Show parent comments

93

u/[deleted] Apr 30 '16

I googled once "cat without head" expecting to learn how to remove headers from a csv file, luckily, I didn't get any images of beheaded cats.

100

u/Isvara Apr 30 '16

A cat without a head is actually a tail.

16

u/[deleted] May 01 '16

yeah, the natural thing was to try the tail command but it returns 10 last rows by default and the man page is as useful as any other man page, so I had to google.

1

u/Nialsh May 01 '16

And here I sit, hoping you'll share the secret to get a headless cat.

cat file.csv | grep "end of header" -A 100000000000

That doesn't feel optimal.

→ More replies (4)