User Tools

Site Tools


bash:files:insert_blank_spaces_at_beginning_of_each_line_in_a_file

BASH - Files - Insert blank spaces at beginning of each line in a file

Insert 5 blank spaces at beginning of each line.

awk '{sub(/^/, "     ");print}' filename
bash/files/insert_blank_spaces_at_beginning_of_each_line_in_a_file.txt · Last modified: 2022/06/13 11:20 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki