1 2 3 4 5 6 7 8
#!/usr/bin/perl foreach (<>) { if(/^schema=.*\/(.*)$/) { print "schema=$1\n"; next; } print $_; }