• fox@vlemmy.net
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    2 years ago

    love cat -n, when working with csv files I often use a command like this to figure out which column I need:

    head -n1 file.csv | sed 's/,/\n/g' | cat -n