I know that there are ten different alternatives. Why don’t we simply improve the basic stuff?

  • iusearchbtw@lemm.ee
    link
    fedilink
    arrow-up
    26
    ·
    6 months ago

    Am I not reading your question right? Just quote the variable and filenames with spaces work fine.

    for i in *; do
        cat "$i" ;
    done