File: modify_output_file.out.awk

package info (click to toggle)
mcu8051ide 1.4.9-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 18,820 kB
  • sloc: tcl: 94,956; xml: 2,122; sh: 2,113; asm: 246; ansic: 96; awk: 18; makefile: 5
file content (18 lines) | stat: -rw-r--r-- 423 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /usr/bin/gawk -f

# --------------------------------------------------------------------------
# Auxiliary script for regression tests environment
#
# Modify ouput files from simulator, file extension is `.out'
# --------------------------------------------------------------------------

# Ignore sim. engine version
/^MCU8051IDE SIM-ENGINE/ {
	$0="MCU8051IDE SIM-ENGINE"
}


# Just copy input to output
{
	print($0)
}