• alienghic@slrpnk.net
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    3 days ago

    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