Print first and last non-empty (or non-whitespaces only) line in a file

Subscribers:
4,110
Published on ● Video Link: https://www.youtube.com/watch?v=ZMlO8G3ZU84



Duration: 4:09
0 views
0


Print first and last non-empty (or non-whitespaces only) line in a file
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA |
Thanks to all those great people for their contributions!

(unix.stackexchange.com/users/431343/renga)Renga |
(unix.stackexchange.com/users/116858/kusalananda)Kusalananda |
(unix.stackexchange.com/users/377345/adminbee)AdminBee |
(unix.stackexchange.com/users/109397/minimax)MiniMax |
A special thanks goes out to the (https://unix.stackexchange.com/questions/726117/print-first-and-last-non-empty-or-non-whitespaces-only-line-in-a-file)Stackexchange community |

I wish you all a wonderful day! Stay safe :)

text-processing







Tags:
text-processing