Lines Matching refs:sed

45 me=`echo "$0" | sed -e 's,.*/,,'`
173 cc_set_libc=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`
217 arch=`echo "$UNAME_MACHINE_ARCH" | sed -e 's,^e\(armv[0-9]\).*$,\1,'`
218 endian=`echo "$UNAME_MACHINE_ARCH" | sed -ne 's,^.*\(eb\)$,\1,p'`
249 abi=`echo "$UNAME_MACHINE_ARCH" | sed -e "$expr"`
262 release=`echo "$UNAME_RELEASE" | sed -e 's/[-_].*//' | cut -d. -f1,2`
271 UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
275 UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
279 UNAME_MACHINE_ARCH=`arch | sed 's/SecBSD.//'`
283 UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'`
331 …ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head …
369 …OSF_REL=`echo "$UNAME_RELEASE" | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijkl…
418 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
422 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
426 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
446 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
453 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
463 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/-/_/'`
470 UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
530 sed 's/^ //' << EOF > "$dummy.c"
552 dummyarg=`echo "$UNAME_RELEASE" | sed -n 's/\([0-9]*\).*/\1/p'` &&
608 IRIX_REL=`echo "$UNAME_RELEASE" | sed -e 's/-/_/g'`
628 sed 's/^ //' << EOF > "$dummy.c"
652 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
660 awk -F: '{ print $3 }' | sed s/[0-9]*$/0/`
688 HPUX_REV=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*.[0B]*//'`
709 sed 's/^ //' << EOF > "$dummy.c"
770 HPUX_REV=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*.[0B]*//'`
775 sed 's/^ //' << EOF > "$dummy.c"
848 CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'`
853 | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
858 CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'`
862 CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'`
866 CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'`
870 CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'`
875 FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
876 FUJITSU_REL=`echo "$UNAME_RELEASE" | sed -e 's/ /_/'`
880 FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
881 …echo "$UNAME_RELEASE" | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'`
899 FREEBSD_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'`
902 FREEBSD_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'`
914 FREEBSD_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'`
951 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
956 GNU_ARCH=`echo "$UNAME_MACHINE" | sed -e 's,[-/].*$,,'`
957 GNU_REL=`echo "$UNAME_RELEASE" | sed -e 's,/.*$,,'`
962 GNU_SYS=`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"`
963 GNU_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'`
977 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' /proc/cpuinfo 2>/dev/null` in
1049 sed 's/^ //' << EOF > "$dummy.c"
1200 UNAME_REL=`echo "$UNAME_RELEASE" | sed 's/\/MP$//'`
1218 UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
1221 UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
1271 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
1282 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
1505 DRAGONFLY_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'`
1519 SKYOS_REL=`echo "$UNAME_RELEASE" | sed -e 's/ .*$//'`