File: filter.awk

package info (click to toggle)
ns2 2.35%2Bdfsg-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 79,396 kB
  • sloc: cpp: 172,923; tcl: 107,167; perl: 6,391; sh: 6,143; ansic: 5,846; makefile: 829; awk: 525; csh: 355
file content (10 lines) | stat: -rw-r--r-- 174 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
                {
                        if ($1 == "+")  {
                t = $6 
		if ($6 == 1000) {
		    t = 1500
                }
		print $2, t
		}
                }