SF.net SVN: morphix: [2321] trunk/morph-scripts/morphix-rebrand.sh

[email protected] Thu, 22 Jun 2006 14:43:33 -0700
Newsgroups gmane.linux.morphix.cvs
Message-ID <[email protected]>
Revision: 2321
Author:   bmsleight
Date:     2006-06-22 14:43:29 -0700 (Thu, 22 Jun 2006)
ViewCVS:  http://svn.sourceforge.net/morphix/?rev=2321&view=rev

Log Message:
-----------
Making sed more inclusive

Modified Paths:
--------------
    trunk/morph-scripts/morphix-rebrand.sh
Modified: trunk/morph-scripts/morphix-rebrand.sh
===================================================================
--- trunk/morph-scripts/morphix-rebrand.sh	2006-06-21 21:19:11 UTC (rev 2320)
+++ trunk/morph-scripts/morphix-rebrand.sh	2006-06-22 21:43:29 UTC (rev 2321)
@@ -66,7 +66,7 @@
 #Remove BOOT_IMAGE
 for TMP_GRUB_FILE in $NEW_IMAGE_DIR/boot/grub/*.lst
 do
- sed "/kernel/s/BOOT_IMAGE=[A-z]*\ //g" $TMP_GRUB_FILE > $TMP_FILE
+ sed "/kernel/s/BOOT_IMAGE=[a-zA-Z]*\ //g" $TMP_GRUB_FILE > $TMP_FILE
  mv  $TMP_FILE $TMP_GRUB_FILE 
 done
 #BOOT_IMAGE
@@ -75,14 +75,14 @@
 #Remove old Username
 for TMP_GRUB_FILE in $NEW_IMAGE_DIR/boot/grub/*.lst
 do
- sed "/kernel/s/username=[A-z]*\ //g" $TMP_GRUB_FILE > $TMP_FILE
+ sed "/kernel/s/username=[a-zA-Z]*\ //g" $TMP_GRUB_FILE > $TMP_FILE
  mv  $TMP_FILE $TMP_GRUB_FILE 
 done
 
 #Remove old Hostname
 for TMP_GRUB_FILE in $NEW_IMAGE_DIR/boot/grub/*.lst
 do
- sed "/kernel/s/hostname=[A-z]*\ //g" $TMP_GRUB_FILE > $TMP_FILE
+ sed "/kernel/s/hostname=[a-zA-Z]*\ //g" $TMP_GRUB_FILE > $TMP_FILE
  mv  $TMP_FILE $TMP_GRUB_FILE 
 done
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642