Skip to main content

All Questions

Tagged with
0 votes
1 answer
380 views

how to output only a specific known line number using cat or head/tail

I know how to use head or tail to output a certain number of lines, but how do I output only a specific line number(s)? Something like: head --only-line=73 <file>
Oliver Williams's user avatar
0 votes
1 answer
1k views

How can I detect/remove special characters from this short text file?

This is the contents of a short text file created by an AppleScript written by someone else: Search time: Sunday April 28, 2019 at 07:21:07 Search complete. Nothing found. But, when I use cat I get ...
Buadhai's user avatar
  • 111
1 vote
1 answer
2k views

head and cat don't recognize Microsoft Excel text files

I have a large .xls file with 53760 rows and 19 columns. I saved it as Tab Delimited Text in order to pre-process it through command line tools and load it into R later. However, when I run head ...
Marcus Nunes's user avatar