• + 3 comments

    This works

    #!/bin/bash
    while read s
    do
        echo "$s" | cut -f1-3
    done