This command will print the first field of each line of input, followed by the literal string "$'var'". The variable "var" is not defined within the command, so it will be treated as a literal string.

For example, if the input is:

apple 5 banana 3 orange 2

The output would be:

apple $'var' banana $'var' orange $'var'

awk print $1 $‘var’

原文地址: http://www.cveoy.top/t/topic/ejJS 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录