1*16d86563SAlexander Pyhalov#!/bin/bash 2*16d86563SAlexander Pyhalov# 3*16d86563SAlexander Pyhalov# CDDL HEADER START 4*16d86563SAlexander Pyhalov# 5*16d86563SAlexander Pyhalov# The contents of this file are subject to the terms of the 6*16d86563SAlexander Pyhalov# Common Development and Distribution License (the "License"). 7*16d86563SAlexander Pyhalov# You may not use this file except in compliance with the License. 8*16d86563SAlexander Pyhalov# 9*16d86563SAlexander Pyhalov# You can obtain a copy of the license at src/OPENSOLARIS.LICENSE 10*16d86563SAlexander Pyhalov# or http://www.opensolaris.org/os/licensing. 11*16d86563SAlexander Pyhalov# See the License for the specific language governing permissions 12*16d86563SAlexander Pyhalov# and limitations under the License. 13*16d86563SAlexander Pyhalov# 14*16d86563SAlexander Pyhalov# When distributing Covered Code, include this CDDL HEADER in each 15*16d86563SAlexander Pyhalov# file and include the License file at src/OPENSOLARIS.LICENSE. 16*16d86563SAlexander Pyhalov# If applicable, add the following below this CDDL HEADER, with the 17*16d86563SAlexander Pyhalov# fields enclosed by brackets "[]" replaced with your own identifying 18*16d86563SAlexander Pyhalov# information: Portions Copyright [yyyy] [name of copyright owner] 19*16d86563SAlexander Pyhalov# 20*16d86563SAlexander Pyhalov# CDDL HEADER END 21*16d86563SAlexander Pyhalov# 22*16d86563SAlexander Pyhalov# 23*16d86563SAlexander Pyhalov# Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. 24*16d86563SAlexander Pyhalov# 25*16d86563SAlexander Pyhalov 26*16d86563SAlexander Pyhalovfor i in `ls *.tbl`; do 27*16d86563SAlexander Pyhalov ren=`echo $i | perl -pe 's:%:_:'` 28*16d86563SAlexander Pyhalov mv $i $ren 29*16d86563SAlexander Pyhalov perl -i -pe 's:License"\). :License").:' $ren 30*16d86563SAlexander Pyhalovdone 31*16d86563SAlexander Pyhalov 32*16d86563SAlexander Pyhalovfor i in `ls *.btbl`; do 33*16d86563SAlexander Pyhalov ren=`echo $i | perl -pe 's:%:_: ; s:btbl:tbl: ; s:ibm:IBM-:'` 34*16d86563SAlexander Pyhalov mv $i $ren 35*16d86563SAlexander Pyhalovdone 36