我知道如果sed是GNU版本,版本检查就可以了
sed
$ sed --version
但这在OS X中不起作用.我该怎么做?
shell command-line sed
command-line ×1
sed ×1
shell ×1