Last active
August 29, 2015 14:26
-
-
Save jestan/253f617aae2edf542b9a to your computer and use it in GitHub Desktop.
Revisions
-
jestan revised this gist
Aug 13, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,5 +8,5 @@ 3. Find corrupted jar files in local maven repostiory find ~/.m2/repository/ -name "*jar" | xargs -L 1 zip -T | grep error | grep invalid -
jestan revised this gist
Aug 13, 2015 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,5 +6,7 @@ sed 's/$/<data>/' input.txt > output.txt 3. Find corrupted jar files in local maven repostiory find ~/.m2/repository/ -name "*jar" | xargs -L 1 zip -T | grep error | grep invalid -
jestan created this gist
Aug 3, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ 1. Count unique lines in a file cat <file-path> | sort | uniq | wc -l 2. Append Given Characters in each line of the file sed 's/$/<data>/' input.txt > output.txt 3. To be continued