Ex8 and minor improvements
This commit is contained in:
parent
2195a9db0a
commit
77bc8c6aa3
50 changed files with 214845 additions and 43 deletions
20
sheet3/8/nl.awk
Normal file
20
sheet3/8/nl.awk
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
#
|
||||
# Have to add a newline for a new row of coordinates
|
||||
#
|
||||
BEGIN { OFS=" "; YO=-1.23456789; X=YO; Y=YO; Z=YO }
|
||||
{
|
||||
if ($1!="")
|
||||
{
|
||||
if ($1!=YO) { print " "; YO=$1 }
|
||||
if ($1==X && $2==Y)
|
||||
{
|
||||
# print $1,$2,($3+Z)/2
|
||||
}
|
||||
else
|
||||
{
|
||||
print $1,$2,$3
|
||||
}
|
||||
X=$1; Y=$2; Z=$3;
|
||||
}
|
||||
}
|
||||
END {}
|
||||
Loading…
Add table
Add a link
Reference in a new issue