Created
July 9, 2014 06:56
-
-
Save inaz2/65ef1d0cdcc32cf3c9bf to your computer and use it in GitHub Desktop.
標準入力を1行ずつ処理する
This file contains 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
$ while read; do echo -n "$REPLY" | od -tx1z; done | |
hoge | |
0000000 68 6f 67 65 >hoge< | |
0000004 | |
fuga | |
0000000 66 75 67 61 >fuga< | |
0000004 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment