r/linux_programming • • Dec 13 '18

format grep's output

I have the results from running a grep command, now I want to cut off any leading whitespace. Any suggestions?

0 Upvotes

4 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Dec 13 '18

Right... I forgot sed could do that... it's been a hot minute since I did stuff with bash.