We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7032d2f commit a2fd1a9Copy full SHA for a2fd1a9
sed_use.sh
@@ -34,3 +34,4 @@ sed = pets.txt | sed 'N;s/\n/'$'\t''/' > line_num_pets.txt
34
sed = my.txt | sed 'N; s/^/ /; s/\(.\{5,\}\)\n/\1 /' #对文件中的所有行编号(行号在左,文字左端对齐)。
35
#sed = my.txt | sed -E 'N; s/(.*)\n/ \1 /' #貌似,我也可以这么写
36
sed '/'"$name"'/,/};/d' back_slash.txt
37
+#$'\t' 在shell中输入tab键。或者先按Ctrl-V,然后再按Tab键
0 commit comments