minus-squarealienghic@slrpnk.nettolinuxmemes@lemmy.world•Easy, it's uuuuuuuuh…linkfedilinkEnglisharrow-up1·edit-26 days agoThe transcription of D is wrong. It should be: sed 's/\([a-zA-Z]\+\)/\n&\n/g; s/\n\(.\)\(.*\)\(.\)\n/\3\2\1/g; s/\n//g' file.txt also D is correct, assuming file.txt contains a list of words one per line linkfedilink
minus-squarealienghic@slrpnk.nettoFediverse@lemmy.world•There are teenagers on the fediverse.linkfedilinkEnglisharrow-up1·24 days agoWelcome to the software commune comrade! linkfedilink
The transcription of D is wrong. It should be:
sed 's/\([a-zA-Z]\+\)/\n&\n/g; s/\n\(.\)\(.*\)\(.\)\n/\3\2\1/g; s/\n//g' file.txt
also D is correct, assuming file.txt contains a list of words one per line