File: cutheader.pl

package info (click to toggle)
libjpeg 0.0~git20250815.25f7128-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,096 kB
  • sloc: cpp: 36,493; makefile: 618; ansic: 275; sh: 54; python: 39; perl: 11
file content (19 lines) | stat: -rwxr-xr-x 263 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/usr/bin/perl -w
#
# $Id: cutheader.pl,v 1.1 2012-06-02 10:27:13 thor Exp $
#

$line = <STDIN>;
if ($line =~ /\/\*\*/) {
    do {
	$line = <STDIN>;
    } while ($line !~ /\*\*\/$/);
} else {
    print $line;
}

while($line = <STDIN>) {
    print $line;
}