Saturday, March 12, 2016
Friday, March 11, 2016
tr: Squeeze Multiple Occurrences of Newline Characters
Command:
$ echo "test
test
test
test" | tr -s '\n'
Result:
test
test
test
test
ラベル:
tr (Unix)
tr: Converting a Lower Case String to an Upper Case String
Command line:
$ echo "Hello World" | tr '[:lower:]' '[:upper:]'
Result:
HELLO WORLD
ラベル:
tr (Unix)
Thursday, March 10, 2016
Thursday, March 3, 2016
Tuesday, March 1, 2016
Saturday, February 27, 2016
Subscribe to:
Posts (Atom)