在awk中怎样执行linux命令

2025-03-25 13:37:30
推荐回答(2个)
回答(1):

system啊


awk 'BEGIN{system("ls -l")}'
在awk中执行ls -l

回答(2):

使用 ` ` 符号,就是tab 键上面的那个。