Search Results

Search: Posts Made By: Paul Martins
10,106
Posted By Paul Martins
How to pass each line of a text file as an argument to a command?
I'm looking to write a script that takes a .txt filename as an argument, reads the file line by line, and passes each line to a command. For example, it runs command --option "LINE 1", then command...
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 06:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy