IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 24388 for trunk/ippTools


Ignore:
Timestamp:
Jun 12, 2009, 3:13:14 PM (17 years ago)
Author:
heather
Message:

Replaced the impressively awesome sed command with a mac-friendly perl script. -HAF

Location:
trunk/ippTools/share
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/share/Makefile.am

    r24284 r24388  
    11pxadmin_create_mirror_tables.sql: pxadmin_create_tables.sql
    22        -$(RM) pxadmin_create_mirror_tables.sql
    3         $(SED) -n -e '/^  *$$/ d' -e 's/--.*//' -e '/./ H' -e '/;/ !b' -e 'x ; s/\n//g ; /^CREATE TABLE receive/ { b print }' -e 's/AUTO_INCREMENT//g ; s/,\{0,1\} *FOREIGN *KEY *([a-zA-Z][a-zA-Z0-9\-\_, ]*) *REFERENCES *[a-zA-Z]\{1,\}([a-zA-Z][a-zA-Z0-9\-\_, ]*)//g' -e ': print' -e 's/( */(/g ; s/ *)/)/g ; s/  */ /g ; p ; s/.*//g ; x'  pxadmin_create_tables.sql > pxadmin_create_mirror_tables.sql
    4         echo '-- This comment line is here to avoid empty query error.' >> pxadmin_create_mirror_tables.sql
     3        ./parse_pxadmin_create_tables.pl pxadmin_create_tables.sql > pxadmin_create_mirror_tables.sql
    54
    65dist_pkgdata_DATA = \
Note: See TracChangeset for help on using the changeset viewer.