Hello,
I have a problem with cut -d -f$list
the requirements of "cut" command, the list have to be sorted increasing.
but, somehow, i have a list which is have to look like this :
1,2,3,4,5,29,25,11,15,231,227,213,217,433,429,415,
419,635,631,617,621...
Hello,
I have a problem with cut -d -f$list
the requirements of "cut" command, the list have to be sorted increasing.
but, somehow, i have a list which is have to look like this :
1,2,3,4,5,29,25,11,15,231,227,213,217,433,429,415,419,635...
Hi,
Can someone advise me to correct this script :
a="1,2,3,4,5,6,7,8"
nawk 'BEGIN { FS="," }
{ asum=split(a,b,FS)
printf ("%d",asum)
}
the result is asum = 0.
it supposed to be returning 8.
Please help
Thanks
Hello,
I have this command on someone's script :
grep "^[13];psf\/210;" $filen | cut -d";" -f$List >> ${pathOut}/psf_210_${dateFile}.txt
The 'List' created with awk :
List=$(nawk 'BEGIN { printf("1,2,3,4,5"); for(i=9; i<=2231; i+=202) {...
Hello,
I have a simple question, hope that somebody would help.
As i just browse a little about AWK, i don't really understand how to interprete my idea into AWK syntax.
File1
A1;Input1;A3;A4;A5
20;90;77;88;99
33;80;81;67;54
32;76;55;13;93
..
..
..
File2
B1;Input2;B3;B4;B5
22;93;71;68;89...
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.