Believe it or not - the following works as well . .
#!/bin/ksh
n=10
cat silly.in |awk '{print $'"$n"'}'
Enclosing a ksh var in '" "' seems to do the trick. This way you're not forced into using all of awks clumsy syntax.
Thanks for the info . . biggest problem was that bos.adt.include was not installed. After this was done - I found 'make' where it should be . .
/usr/bin/make -> /usr/ccs/bin/make
fyi -> about 6 perl module dependencies later and the need for 'cc' - i was able to install and run 'checkbot'
Does anyone have tips on installing Perl modules (i.e. LWP) on AIX? I ran 'perl Makefile.PL' successully but can't run a 'make'?? Where would I find this command??
Check your communication settings -
Be sure that baud rate, flow control, parity, and stop bits of tty match your port settings.
Any discrepencies can cause all sorts of unpredicatable results -
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.