Search Results

Search: Posts Made By: SaPa
1,445
Posted By nezabudka
#!/bin/bash bc <<<' define row (t,j) { auto...
#!/bin/bash
bc <<<'
define row (t,j) { auto n, p, b
m = 642;
for ( i=1; i<=8; i++ ) {
print 4," ",t+n-p+b," ",t+n+1-p+b," ",t+n+m-p," ",t+n+m+1-p++,"\n"
n+=m;...
1,445
Posted By RudiC
Try also awk ' T[NR]=$0 END ...
Try also


awk '
T[NR]=$0

END {for (k=1; k<=REP; k++) {++INC
print "----"
for (j=1; j<=NR; j++) {$0 = T[j]
...
1,445
Posted By vgersh99
see if it helps. If sapa.txt is: 4 0 1 642...
see if it helps.
If sapa.txt is:

4 0 1 642 643
4 642 643 1283 1284
4 1283 1284 1924 1925
4 1924 1925 2565 2566
4 2565 2566 3206 3207
4 3206 3207 3847 3848
4 3847 3848 4488 4489
4 4488 4489...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 05:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy