File: tit2cin.awk

package info (click to toggle)
xcingb 2.3.02-6
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 2,488 kB
  • ctags: 878
  • sloc: ansic: 9,779; sh: 1,460; makefile: 300; awk: 12
file content (12 lines) | stat: -rw-r--r-- 148 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
{ 
if(index($1,"BEGIN")==1)
 { beginflag=1}
if(beginflag==1&&index($1,"#")==0&&length($1)<=8)
{
i=2
while (i<=NF) {
	print $1,$i
	i++
	}
}
}