CDS detector added
Former-commit-id: 93fac7a70052d06c2a12bf8af59820c653edd31b Former-commit-id: 0869fdad0f550941a0f78f1e4c57f4fcdb3f6076
This commit is contained in:
18
detectors/cds/lib/cutline.awk
Normal file
18
detectors/cds/lib/cutline.awk
Normal file
@ -0,0 +1,18 @@
|
||||
#
|
||||
|
||||
{
|
||||
line = $0
|
||||
if (length(line) > 80) {
|
||||
print substr(line, 1, 80)
|
||||
rest = substr(line, 81)
|
||||
while (length(rest) > 59) {
|
||||
print "FT " substr(rest, 1, 59)
|
||||
rest = substr(rest, 60)
|
||||
}
|
||||
if (length(rest) > 0)
|
||||
print "FT " rest
|
||||
}
|
||||
else {
|
||||
print line
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user