Lines Matching refs:sed
45 me=`echo "$0" | sed -e 's,.*/,,'`
179 cc_set_libc=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`
223 arch=`echo "$UNAME_MACHINE_ARCH" | sed -e 's,^e\(armv[0-9]\).*$,\1,'`
224 endian=`echo "$UNAME_MACHINE_ARCH" | sed -ne 's,^.*\(eb\)$,\1,p'`
255 abi=`echo "$UNAME_MACHINE_ARCH" | sed -e "$expr"`
268 release=`echo "$UNAME_RELEASE" | sed -e 's/[-_].*//' | cut -d. -f1,2`
277 UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
281 UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
285 UNAME_MACHINE_ARCH=`arch | sed 's/SecBSD.//'`
289 UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'`
337 …ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head …
375 …OSF_REL=`echo "$UNAME_RELEASE" | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijkl…
424 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
428 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
432 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
452 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
459 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
469 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/-/_/'`
476 UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
536 sed 's/^ //' << EOF > "$dummy.c"
558 dummyarg=`echo "$UNAME_RELEASE" | sed -n 's/\([0-9]*\).*/\1/p'` &&
614 IRIX_REL=`echo "$UNAME_RELEASE" | sed -e 's/-/_/g'`
634 sed 's/^ //' << EOF > "$dummy.c"
659 IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
667 awk -F: '{ print $3 }' | sed s/[0-9]*$/0/`
695 HPUX_REV=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*.[0B]*//'`
716 sed 's/^ //' << EOF > "$dummy.c"
778 HPUX_REV=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*.[0B]*//'`
783 sed 's/^ //' << EOF > "$dummy.c"
856 CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'`
861 | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
866 CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'`
870 CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'`
874 CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'`
878 CRAY_REL=`echo "$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'`
883 FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
884 FUJITSU_REL=`echo "$UNAME_RELEASE" | sed -e 's/ /_/'`
888 FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
889 …echo "$UNAME_RELEASE" | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'`
907 FREEBSD_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'`
910 FREEBSD_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'`
922 FREEBSD_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'`
962 SUN_REL=`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`
967 GNU_ARCH=`echo "$UNAME_MACHINE" | sed -e 's,[-/].*$,,'`
968 GNU_REL=`echo "$UNAME_RELEASE" | sed -e 's,/.*$,,'`
973 GNU_SYS=`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"`
974 GNU_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'`
992 sed 's/^ //' << EOF > "$dummy.c"
1001 cc_set_abi=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^ABI' | sed 's, ,,g'`
1014 case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' /proc/cpuinfo 2>/dev/null` in
1095 sed 's/^ //' << EOF > "$dummy.c"
1201 sed 's/^ //' << EOF > "$dummy.c"
1210 cc_set_abi=`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^ABI' | sed 's, ,,g'`
1257 UNAME_REL=`echo "$UNAME_RELEASE" | sed 's/\/MP$//'`
1275 UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
1278 UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
1328 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
1339 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
1565 DRAGONFLY_REL=`echo "$UNAME_RELEASE" | sed -e 's/[-(].*//'`
1579 SKYOS_REL=`echo "$UNAME_RELEASE" | sed -e 's/ .*$//'`