Back to the archive
13 Jan 2016 / 1 min read

Running a command for each line of a text file

Have you ever had a text file where each line holds, for example, a file name or a domain name, and for each of these lines you'd need to run a…

> Archived article from 2016, from the old nutellino.it: commands and versions may be out of date.

> Machine translation from Italian: the original is here.

# archive# cli-utility
~/archivio

$ cat ~/archivio/lanciare-un-comando-per-ogni-riga-di-un-file-di-testo.md

WARNING: this file is from 2016.

I wrote it, but a me from a few years ago: it may no longer reflect what I think or what I can do.

NOTE: machine translation from Italian, the original is here.

Continue? [y/N]