gebase/srv/exec.awk

6 lines
114 B
Awk

function exec_to_string( cmd ) {
cmd | getline getline_output;
close( cmd );
return getline_output;
}