Can't we just use looping for that? For example, I use this command to
process multiple files. It removes lines with hashtag sign in every
TXT file of all TXT files in current directory. What do you think?

for filename in file*.txt; do sed -i '/#/d' $filename; done

Reply via email to