Kein Bild

sed – stream editor

August 31, 2018 stefan 0

You want to use sed to prefix a line with a #, given by the linenumber 18? sed -i ‚{18s/^/#/}‘ theFile.txt