grep can use regular expressions to find, sed can use them to find and replace ... sed -r —n -e 's/([0-9]+) ([0-9]+) ([0-9]+)/\(\1,\2,\3\)/gp' < img_a.txt ...
確定! 回上一頁