H09584 s 00017/00000/00000 d D 1.1 02/03/13 20:31:03 patch 2 1 cC cF1 cK39701 cO-rw-rw-r-- e s 00000/00000/00000 d D 1.0 02/03/13 20:31:03 patch 1 0 c BitKeeper file /home/marcelo/bk/linux-2.4/arch/mips/galileo-boards/ev64120/compressed/fixit cBtorvalds@athlon.transmeta.com|ChangeSet|20020205173056|16047|c1d11a41ed024864 cHplucky.distro.conectiva cK08819 cParch/mips/galileo-boards/ev64120/compressed/fixit cR5d494e70a9c38b1d cV4 cX0x821 cZ-03:00 e u U f e 0 f x 0x821 t T I 2 #!/bin/ksh # By RidgeRun Inc. # # The input to this script is # intended to be a *.S file which # was previously created by the doit # program. That program constructs # a *.S file which has a defined data # table containing values with leading # zeroes. To satisfy our assembler those # leading zeroes need to be stripped off # and that is the purpose of this script. echo "Removing leading zeros" sed -e "s/ 0\(.\)/ \1/g" $1 | sed -e "s/ 0\(.\)/ \1/g" > $1.new mv $1.new $1 E 2 I 1 E 1