nindent
The nindent
function is the same as the indent function, but prepends a new
line to the beginning of the string.
nindent 4 $lots_of_text
The above will indent every line of text by 4 space characters and add a new line to the beginning.
Back to top