Search Results

Search: Posts Made By: rid
9,455
Posted By rid
I got it, thanks for the explanation. I was kind...
I got it, thanks for the explanation. I was kind of confused but now I see that pipes read directly from stdin.

rid
9,455
Posted By rid
Thanks both. This line worked For...
Thanks both.

This line worked



For info, the following one also works

myscript.sh <param1> $(get_number $VARIABLE)Still don't understand why it does not work with the pipe :(
9,455
Posted By rid
redirect an awk string output to a script input with pipes
Hi,

I have a function in a bash script that returns a string after some operations using awk.

The following code returns 555

$VARIABLE="EXAMPLE"
get_number $VARIABLE
this value I'd like to...
Showing results 1 to 3 of 3

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