- 论坛徽章:
- 1
|
如上边的图,我这里还是不显示,估计是我的sed的版本问题,
sed -n '2p' test.txt
%sed -n '2p' ...
zbhdpx 发表于 2010-12-30 11:40 ![]() - $ sed --version
- GNU sed version 4.2.1
- Copyright (C) 2009 Free Software Foundation, Inc.
- This is free software; see the source for copying conditions. There is NO
- warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE,
- to the extent permitted by law.
- GNU sed home page: <http://www.gnu.org/software/sed/>.
- General help using GNU software: <http://www.gnu.org/gethelp/>.
- E-mail bug reports to: <bug-gnu-utils@gnu.org>.
- Be sure to include the word ``sed'' somewhere in the ``Subject:'' field.
复制代码 |
|