linux:sed
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
linux:sed [2018/09/26 17:41] – created percy | linux:sed [2018/10/22 11:31] (current) – percy | ||
---|---|---|---|
Line 15: | Line 15: | ||
gsed ": | gsed ": | ||
+ | ==== delete the redundant empty lines ==== | ||
+ | Refer | ||
+ | - http:// | ||
+ | sed '/ | ||
+ | |||
+ | E.g. Remove all the redundant empty lines in the Java source code | ||
+ | |||
+ | find app/src/ -iname " | ||
+ | | ||
+ | ==== Combine every 3 lines into one line ==== | ||
+ | sed ' | ||
+ | | ||
+ | ==== Calculate the number ==== | ||
+ | cat crashlist_googleplay_20181012.txt|grep -v " | ||
+ | |||
+ | | ||
/var/www/dokuwiki/wiki/data/attic/linux/sed.1537954873.txt.gz · Last modified: 2018/09/26 17:41 by percy