====== SED - Insert - Insert a blank line every 5 lines ====== After lines 5, 10, 15, 20, etc. gsed '0~5G' # GNU sed only sed 'n;n;n;n;G;' # other seds