[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Awk, filtering match through external command



Hi, 

Awk allows reading results from external command:

 cmd | getline result

However, I want the cmd itself a piping command as well.  E.g.., 

 "echo " substr($0, RSTART, RLENGTH) | command external with parameters| 
getline result

Any way to make it works?

Thanks


Reply to: