任何人都可以解释Sed p和PSed 之间有什么区别?
p
P
假设在下面的文件中使用p和P打印包含gmail的行给出相同的o/p那么p和P之间有什么区别?
$ cat abc.txt Gmail 10 Yahoo 20 Rediff 18 $ sed -n /Gmail/p abc.txt Gmail 10 $ sed -n /Gmail/P abc.txt Gmail 10
shell scripting sed
scripting ×1
sed ×1
shell ×1