OSSP CVS Repository

ossp - Check-in [3570]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 3570
Date: 2003-Sep-09 11:05:31 (local)
2003-Sep-09 09:05:31 (UTC)
User:rse
Branch:
Comment: fix consise output generation and ommit the GNU part in GNU/Linux under consise output
Tickets:
Inspections:
Files:
ossp-pkg/platform/platform.sh      1.4 -> 1.5     4 inserted, 4 deleted

ossp-pkg/platform/platform.sh 1.4 -> 1.5

--- platform.sh  2003/09/08 19:13:00     1.4
+++ platform.sh  2003/09/09 09:05:31     1.5
@@ -358,7 +358,7 @@
             sed -e 's/^\([0-9][0-9]*\.[0-9][0-9]*\).*/\1/'`
         v_libc=`(strings /lib/libc.so.* | grep '^GLIBC_' | sed -e 's/^GLIBC_//' |\
             sort -n | tail -1 | sed -e 's/^\([0-9][0-9]*\.[0-9][0-9]*\).*/\1/') 2>&1`
-        ST="GNU/Linux ${v_libc}/${v_kern}"
+        ST="GNU/<Linux >${v_libc}/<${v_kern}>"
         if [ -f /etc/lsb-release ]; then
             eval `( . /etc/lsb-release
               echo "SC=\"LSB${LSB_VERSION}\""
@@ -477,7 +477,7 @@
                 val_V=`echo ":$val" | \
                        sed -e 's/^://' \
                            -e 's;\[\([^]]*\)\];\1;g' \
-                           -e 's;<\([^>]*\)>;\1;' \
+                           -e 's;<\([^>]*\)>;\1;g' \
                            -e "s; ;§§;g" \
                            -e "s;/;%%;g" \
                            -e "s;§§;${opt_S};g" \
@@ -490,7 +490,7 @@
                 val_N=`echo ":$val" | \
                        sed -e 's/^://' \
                            -e 's;\[\([^]]*\)\];;g' \
-                           -e 's;<\([^>]*\)>;\1;' \
+                           -e 's;<\([^>]*\)>;\1;g' \
                            -e "s; ;§§;g" \
                            -e "s;/;%%;g" \
                            -e "s;§§;${opt_S};g" \
@@ -503,7 +503,7 @@
                 val_C=`echo ":$val" | \
                        sed -e 's/^://' \
                            -e 's;\[\([^]]*\)\];;g' \
-                           -e 's;[^<]*<\([^>]*\)>;\1;' \
+                           -e 's;[^<]*<\([^>]*\)>;\1;g' \
                            -e "s; ;§§;g" \
                            -e "s;/;%%;g" \
                            -e "s;§§;${opt_S};g" \

CVSTrac 2.0.1