# remove all annotation in the file
sed -i '/^\/\*\|^\*\|\/\/d;s/\/\/.*$\|\/\*.*$//;s/\s*$//' description.c
systemctl show -p FragmentPath docker.service | cut -d "=" -f 2
# remove all annotation in the file
sed -i '/^\/\*\|^\*\|\/\/d;s/\/\/.*$\|\/\*.*$//;s/\s*$//' description.c
systemctl show -p FragmentPath docker.service | cut -d "=" -f 2
$ cat aa123456789 $ sed 'N;$!D' aa89但是爲什麼下面的結果卻是這樣? sed 'n;$!d' aa13579