File: interleave

package info (click to toggle)
emacspeak-ss 1.12-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 320 kB
  • ctags: 13
  • sloc: tcl: 533; sh: 243; makefile: 135; ansic: 75
file content (7 lines) | stat: -rwxr-xr-x 215 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
#!/bin/sh
# interleave - combine generic and specific speech server code
# usage: interleave all.in xx.in >xx
awk 'NR==1,/^#include/{if($1~/^#include/)exit;print}' $1
cat $2
awk 'NR==1,/^#include/{next}{print}' $1