Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

another command in awk field

#pipe command into getline and to a variable
#Ex:
awk -F: '{"wc -l "$1 | getline c; printf("%s
",c)}'
 
PREVIOUS NEXT
Tagged: #command #awk #field
ADD COMMENT
Topic
Name
2+4 =