• + 0 comments

    why the fk does this not work? Test case 2 fails, for no reason. This IS the most elegant solution thank you very much.

    while read X; do
        echo "${X:0:4}"
    done