cshell中sed 的用法?set date_char`date +%a %b %e`sed -n /$date_char/,$p online.si_10j.log tem
cshell中sed 的用法?
set date_char=`date '+%a %b %e'`
sed -n '/$date_char/,$p' online.si_10j.log > temp.txt
用参数的形式为什么不行?
[解决办法]
那添加一个空格看看
sed -n "/$date_char/,$ p"
cshell中sed 的用法?
set date_char=`date '+%a %b %e'`
sed -n '/$date_char/,$p' online.si_10j.log > temp.txt
用参数的形式为什么不行?
[解决办法]
那添加一个空格看看
sed -n "/$date_char/,$ p"