Search Results

Search: Posts Made By: timber333
4,332
Posted By timber333
program.sh is working for me. Anything else...
program.sh is working for me.
Anything else doesn't, no errors. I have tried this exhaustively. I think I'll just give up cause its driving me nuts.

The actual scripts I wrote are much longer....
4,332
Posted By timber333
while read line
Hi,

I have this type of bash code:

#!/bin/bash
while read -r line; do
echo $line | /usr/local/example/program.sh
done

My question is, why if I put an echo statement inside the while...
Showing results 1 to 2 of 2

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