Double-space a file:
sed -G
Add a newline after every two lines:
sed '0~2 s/$/\n/'
Replace newlines with arbitrary text:
awk '{ print }' RS='\n' ORS='arbitrary_text'
Work with human-readable e.g. disk ^2 sizes:
numfmt --from=iec and numfmt --to=iec