Created
July 28, 2017 04:05
-
-
Save bashun/596a9ca3160f838f8ea094dcf7650918 to your computer and use it in GitHub Desktop.
20170728_100本ノック
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 characters
| 10) | |
| wc hightemp.txt | |
| 11) | |
| sed -i 's/\t/ /g' ./hightemp.txt | |
| 12) | |
| cat hightemp.txt | while read line; do echo $line | cut -d ' ' -f1 >> col1.txt; done | |
| cat hightemp.txt | while read line; do echo $line | cut -d ' ' -f2 >> col2.txt; done | |
| 13) | |
| paste col1.txt col2.txt | |
| 14) | |
| head -10 hightemp.txt | |
| 15) | |
| tail -10 hightemp.txt | |
| 16) | |
| split -3 hightemp.txt | |
| 17) | |
| cat col1.txt | sort | uniq | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment