File: chunk_vdistfilter

package info (click to toggle)
ploticus 2.42-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,228 kB
  • sloc: ansic: 46,243; perl: 1,590; sh: 392; makefile: 123
file content (23 lines) | stat: -rw-r--r-- 371 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#if @delim = tab
    #set DELIM = "	"
#elseif @delim = comma
    #set DELIM = ","
#else
    #set DELIM = " "
#endif

filter:
   ##set VAL = $ref(@y)
 #if @id != ""
   ##set ID = $ref(@id)
 #else
   ##set ID = =
 #endif
   ##set GRP = $numgroup( @@VAL, @binsize, mid )
   ##print @@GRP@DELIM@@VAL@DELIM@@ID

/////////////////
#set y = 1
#if @id != ""
  #set id = 3
#endif