Comment by motters
11 years ago
That's the thing about unix-like systems. No matter how much you have learned there's always some command you don't know.
11 years ago
That's the thing about unix-like systems. No matter how much you have learned there's always some command you don't know.
paste was my most recent "holy shit this saves so much time" discovery. I blame it on the not quite intuitive name.
What do you use it for?
One use is converting columns of numbers into math strings for bc.
Example (contrived):
Or converting columns of strings into regex 'or' clauses for searching (contrived example again):
5 replies →
Together with cut to parse CSV files and e.g. convert a text column into a row.