Changes between Version 7 and Version 8 of TipAndDoc/console/shell
- Timestamp:
- May 23, 2017 11:38:04 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TipAndDoc/console/shell
v7 v8 75 75 > }}} 76 76 77 * [http://mattn.kaoriya.net/software/lang/shell/20080225124753.htm Big Sky :: findとxargsは便利だけど意外と実行したい処理はsortした結果だったりする場合が多い] 78 > {{{find . -name "*.txt" | grep '/[0-9]¥{8¥}¥.txt' | sort -n | tr ¥¥n ¥¥0 | xargs -0 ...}}} 79 77 80 * [http://www.cyberciti.biz/faq/linux-unix-bsd-xargs-construct-argument-lists-utility/ xargs: How To Control and Use Command Line Arguments] 78 81 … … 86 89 > ${変数名//置換前文字列/置換後文字列} → 文字列置換(マッチしたものすべて) 87 90 > }}} 91 92