【发布时间】:2010-03-31 07:08:27
【问题描述】:
这个 unix 命令我还没有完全在 Mac 上工作 - 任何需要调整的想法:
find . | grep '.*\(css\|js\|rjs\|rhtml\|rb\)$' | sort | while read in; do printf "\n\n####\n# FILE: %s\n####\n\n" ${in} >> onebigfile; cat "${in}" >> onebigfile; done
谢谢
【问题讨论】:
-
究竟是什么不工作?使用 bash 对我来说效果很好。
标签: macos shell osx-snow-leopard