Ok, I try to explain a little bit more.
Here the code:
set -x
ft -t -k sotest1:1100!`awk '{if ($7 ~ /KAN/) { x = substr($7, 11, 27); print x;} else continue}
'pr.hoeft-jan` FT.KAU.%UNIQUE NHDRWSMb
#awk '{if ($7 ~ /KAN/)
# { x = substr($7, 11, 27); y = substr($7, 1, 3);
# print "ft -t...
I need some Help. I'm from Germany and my boss gave me a weird exercise. The script below don't really word and I have to fix it. But how? I get a FT: Syntax Error.
sh awk-test.p
+ awk {if ($7 ~ /KAN/) { x = substr($7, 11, 27); print x;} else continue} pr.hoeft
+ ft -t -k...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.