[freeside-commits] freeside/bin create-history-tables, 1.6, NONE strip-eps, NONE, 1.1

Ivan,,, ivan at wavetail.420.am
Thu Jun 28 18:27:17 PDT 2007


Update of /home/cvs/cvsroot/freeside/bin
In directory wavetail:/tmp/cvs-serv26419

Added Files:
	strip-eps 
Removed Files:
	create-history-tables 
Log Message:
removing create-history-tables, freeside-upgrade does this anyway

--- create-history-tables DELETED ---

--- NEW FILE: strip-eps ---
#!/usr/bin/perl -w

# Author: Andy Turner <andrew.turner at acadia.net>
 
use strict;

# The first line has some binary magic for file identification
# purposes.  GhostScript doesn't like it.  Strip it.
scalar <>;

# Add a header so that we can use magic to determine the file type.
print "%!PS-Adobe-3.0 EPSF-3.0\n";

while (<>) {
    print;  

    # Illustrator Version 7 format EPS files have a bunch of binary gook
    # after the "%%EOF" line.  (% is a comment in PostScript, right?)
    last if /^%%EOF/;                                                
}



More information about the freeside-commits mailing list