운영체제

Linux 라인 치환하기

warpmemory 2020. 3. 5. 19:18
1
perl -i -ple "s/^.*$/replace string/g if $. == 100 ; close ARGV if eof" datafile
cs