I have a file (x.txt) with a single column containing a hundred values.
228.71
245.58
253.71
482.72
616.73
756.74
834.72
858.62
934.61
944.60
....
I want to input each of these values to an existing script I have such that my command on the terminal is:
script_name 228.71 245.58 253.71........... and so on.
I am trying to create a bash script such that each row is read automatically from the file and taken into the script. I have been trying this for a while now but could not get a solution.
Is there a way to do this?