DevOps Articles

Curated articles, resources, tips and trends from the DevOps World.

Replace lines in files with only spaces/tabs with simple empty line (within

4 years ago www.commandlinefu.com

Summary: This is a summary of an article originally published by the source. Read the full original article here →

type f -regex '.*\.\(cpp\|h\)' -exec sed -i 's/^[[:blank:]]\+$//g' {} +0 By: swarzynski 2020-09-15 09:07:08 findsed Can you do the same thing with only 14 characters?

commandlinefu.com is the place to record those command-line gems that you return to again and again.

For the more discerning, there are Twitter accounts for commands that get a minimum of 3 and 10 votes - that way only the great commands get tweeted.

There are feeds mirroring the 3 Twitter streams as well as for virtually every other subset (users, tags, functions,…

Made with pure grit © 2024 Jetpack Labs Inc. All rights reserved. www.jetpacklabs.com