
CODE: [Copy to clipboard]sed "s/\(..\)....\(.*\)/\1\*\*\*\*\2/" a.txt
| Quote: | |
|
CODE: [Copy to clipboard]sed -r -i 'h;s/(.).{1,5}(.*)/\1\2/;x;s/(.{6}).*/\1/;s/.//;:a;/./{s/.//;x;s/(.)/\1*/;x;ba};x;' test.txt
CODE: [Copy to clipboard]sed '{s/./*/2;s/./*/3;s/./*/4;s/./*/5;s/./*/6;}' urfile
| Quote: | |
|
| Quote: | |
|
| 欢迎光临 中国DOS联盟论坛 (http://cndos.fam.cx/forum/) | Powered by Discuz! 2.5 |