Home
last modified time | relevance | path

Searched refs:sed (Results 1 – 25 of 372) sorted by relevance

12345678910>>...15

/titanic_51/usr/src/lib/fm/topo/libtopo/common/
H A Dmktables.sh64 cat $libtopo_h | sed -n "s/$pattern/$replace/p" || exit 1
77 cat $libtopo_h | sed -n "s/$pattern/$replace/p" || exit 1
90 cat $libtopo_h | sed -n "s/$pattern/$replace/p" || exit 1
103 cat $libtopo_h | sed -n "s/$pattern/$replace/p" || exit 1
116 cat $libtopo_h | sed -n "s/$pattern/$replace/p" || exit 1
126 cat $libtopo_h | sed -n "s/$pattern/$replace/p" || exit 1
136 cat $libtopo_h | sed -n "s/$pattern/$replace/p" || exit 1
146 cat $libtopo_h | sed -n "s/$pattern/$replace/p" || exit 1
156 cat $libtopo_h | sed -n "s/$pattern/$replace/p" || exit 1
166 cat $libtopo_h | sed
[all...]
H A Dmkerror.sh53 echo "$input" | sed -n "s/$pattern/$replace/p" || exit 1
90 echo "$input" | sed -n "s/$pattern/$replace/p" || exit 1
107 echo "$input" | sed -n "s/$pattern/$replace/p" || exit 1
124 echo "$input" | sed -n "s/$pattern/$replace/p" || exit 1
141 echo "$input" | sed -n "s/$pattern/$replace/p" || exit 1
158 echo "$input" | sed -n "s/$pattern/$replace/p" || exit 1
/titanic_51/usr/src/grub/grub-0.97/
H A Ddepcomp68 sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
69 tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
128 sed -e 's/^[^:]*: / /' \
141 ## Some versions of the HPUX 10.20 sed can't process this invocation
142 ## correctly. Breaking it into two sed invocations is a workaround.
143 sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
172 # clever and replace this with sed code, as IRIX sed won't handle
174 # IRIX 6.2 sed, 819
[all...]
H A Dmissing163 files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
169 sed -e 's/^[^:]*://' -e 's/:.*//'`;;
183 sed 's/\.am$/.in/' |
195 file=`echo "$*" | sed -n 's/.*--output[ =]*\([^ ]*\).*/\1/p'`
196 test -z "$file" && file=`echo "$*" | sed -n 's/.*-o[ ]*\([^ ]*\).*/\1/p'`
221 SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
225 SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
251 SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
270 file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
272 file=`echo "$*" | sed
[all...]
H A Dconfig.status.solaris75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
161 # uniformly replaced by the line number. The first 'sed' inserts a
162 # line-number line before each line; the second 'sed' does the real
166 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
167 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
168 sed '=' <$as_myself |
169 sed '
233 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
236 as_tr_sh="eval sed '
[all...]
H A Dconfig.guess38 me=`echo "$0" | sed -e 's,.*/,,'`
192 release=`echo ${UNAME_RELEASE}|sed -e 's/[-_].*/\./'`
261 ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
299 echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' 'abcdefghijklmnopqrstuvwxyz'`
353 echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
356 echo sparc-sun-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
359 echo i386-pc-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
365 echo sparc-sun-solaris3`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
374 echo sparc-sun-sunos`echo ${UNAME_RELEASE}|sed -e 's/-/_/'`
380 UNAME_RELEASE=`(sed
[all...]
H A Dconfig.sub55 me=`echo "$0" | sed -e 's,.*/,,'`
119 maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
124 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
127 basic_machine=`echo $1 | sed 's/-[^-]*$//'`
129 then os=`echo $1 | sed 's/.*-/-/'`
175 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
179 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
182 os=`echo $os | sed -e 's/sco3.2./sco3.2v/'`
183 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
187 basic_machine=`echo $1 | sed
[all...]
/titanic_51/usr/src/grub/grub-0.97/util/
H A Dgrub-install.in99 tmp_disk=`echo "$1" | sed -e 's%\([sh]d[a-z]\)[0-9]*$%\1%' \
104 tmp_part=`echo "$1" | sed -e 's%.*/[sh]d[a-z]\([0-9]*\)$%\1%' \
112 tmp_disk=`echo "$1" | sed 's%\([sh]d[0-9]*\).*%\1%'`
113 tmp_part=`echo "$1" | sed "s%$tmp_disk%%"` ;;
115 tmp_disk=`echo "$1" | sed 's%r\{0,1\}\([saw]d[0-9]*\).*$%r\1%' \
116 | sed 's%r\{0,1\}\(da[0-9]*\).*$%r\1%'`
118 | sed "s%.*/r\{0,1\}[saw]d[0-9]\(s[0-9]*[a-h]\)%\1%" \
119 | sed "s%.*/r\{0,1\}da[0-9]\(s[0-9]*[a-h]\)%\1%"`
122 tmp_disk=`echo "$1" | sed 's%r\{0,1\}\([sw]d[0-9]*\).*$%r\1d%' \
123 | sed '
[all...]
/titanic_51/usr/src/uts/common/klm/
H A DMakefile34 nlm_prot_clnt.c : $(NLM_PROT_X) nlm_prot_clnt.sed
36 sed -f nlm_prot_clnt.sed < $@.tmp > $@
41 sed -e $(SED_INCL) < $@.tmp > $@
44 sm_inter_clnt.c : $(SM_INTER_X) sm_inter_clnt.sed
46 sed -f sm_inter_clnt.sed < $@.tmp > $@
51 sed -e $(SED_INCL) < $@.tmp > $@
54 nsm_addr_clnt.c : $(NSM_ADDR_X) nsm_addr_clnt.sed
56 sed
[all...]
/titanic_51/usr/src/lib/libdtrace/
H A DMakefile.com112 CLEANFILES += ../common/procfs.sed ../common/procfs.d
113 CLEANFILES += ../common/io.sed ../common/io.d
114 CLEANFILES += ../common/ip.sed ../common/ip.d
115 CLEANFILES += ../common/net.sed ../common/net.d
118 CLEANFILES += ../common/sysevent.sed ../common/sysevent.d
119 CLEANFILES += ../common/tcp.sed ../common/tcp.d
120 CLEANFILES += ../common/udp.sed ../common/udp.d
195 ../common/%.sed: ../common/%.sed.in
197 sed '
[all...]
/titanic_51/usr/src/cmd/sendmail/cf/sh/
H A Dcheck-permissions.sh81 afl1=`grep "^OA" $config | sed 's/^OA//' | sed 's/,/ /g' | sed 's/.*://'`
82 afl2=`grep "^O AliasFile=" $config | sed 's/^O AliasFile=//' | \
83 sed 's/,/ /g' | sed 's/.*://'`
93 for i in `sed 's/^[#].*$//' $afl1 $afl2 | \
95 sed 's/.*:include://' | \
96 sed 's/,.*$//'`
/titanic_51/usr/src/cmd/fm/notify/smtp-notify/common/
H A Dprocess_msg_template.sh58 cat $1 | sed s/\%\<CODE\>/$3/g > $tmpfile1
59 cat $tmpfile1 | sed s/\%\<UUID\>/\%\<uuid\>/g > $tmpfile2
60 cat $tmpfile2 | sed s/\%\<CLASS\>/\%\<class\>/g > $tmpfile1
61 cat $tmpfile1 | sed s/\%\<SEVERITY\>/$4/g > $tmpfile2
62 cat $tmpfile2 | sed s/\%\<FMRI\>/svc\:\\/\%\<attr.svc.svc-name\>\:\%\<attr.svc.svc-instance\>/g > $tmpfile1
63 cat $tmpfile1 | sed s/\%\<FROM-STATE\>/\%\<attr.from-state\>/g > $tmpfile2
64 cat $tmpfile2 | sed s/\%\<TO-STATE\>/\%\<attr.to-state\>/g > $tmpfile1
65 cat $tmpfile1 | sed s/\%\<HOSTNAME\>/\%h/g > $tmpfile2
66 cat $tmpfile2 | sed s/\%\<URL\>/\%s/g > $tmpfile1
/titanic_51/usr/src/cmd/sgs/tools/
H A Dchkmsg.sh56 sed -e "s/_32$//" -e "s/_64$//" CATA_MSG_INTL_LIST | sort | uniq > _TMP
60 sed -e "s/_32$//" -e "s/_64$//" CATA_MSG_ORIG_LIST | sort | uniq > _TMP
70 sed -e "s/_32$//" -e "s/_64$//" MSG_INTL_LIST | sort | uniq > _TMP
74 sed -e "s/_32$//" -e "s/_64$//" MSG_ORIG_LIST | sort | uniq > _TMP
90 cat _TMP | sed "s/^/ /"
99 cat _TMP | sed "s/^/ /"
111 cat _TMP | sed "s/^/ /"
120 cat _TMP | sed "s/^/ /"
/titanic_51/usr/src/lib/libc/
H A Dmakelibccatalog.sh44 FILES=`grep gettext *.c | sed "s/:.*//" | sort | sed "s/\.c//" | uniq`
53 cat ${i}.c | sed "s/_libc_gettext/gettext/" > ${i}.i
55 cat messages.po | sed "/^domain/d" > ${i}.po
75 cat ${i}.c | sed "s/_libc_gettext/gettext/" > ${i}.i
77 cat messages.po | sed "/^domain/d" > ${i}.po
98 cat messages.po | sed "/^domain/d" > regerror.po
/titanic_51/usr/src/lib/libdtrace/i386/
H A DMakefile40 CLEANFILES += regs.sed regs.d
42 %.sed: %.sed.in
46 ../$(MACH)/regs.d: regs.sed regs.d.in
47 sed -f regs.sed < regs.d.in > $@
/titanic_51/usr/src/lib/libshell/common/tests/
H A Dsun_solaris_command_substitution.sh164 testout=${ printf "%B\n" testbody | sed 's/<CS>/$(/g;s/<CE>/)/g' | ${SHELL} 2>&1 || err_exit "comma…
168 testout=${ printf "%B\n" testbody | sed 's/<CS>/${ /g;s/<CE>/ ; }/g' | ${SHELL} 2>&1 || err_exit "c…
172 testout=${ printf "%B\n" testbody | sed 's/<CS>/$( ulimit -c 0 ; /g;s/<CE>/)/g' | ${SHELL} 2>&1 || …
176 testout=${ printf "%B\n" testbody | sed 's/<CS>/$( ( /g;s/<CE>/) )/g' | ${SHELL} 2>&1 || err_exit "…
180 testout=${ printf "%B\n" testbody | sed 's/<CS>/${ ( /g;s/<CE>/) ; }/g' | ${SHELL} 2>&1 || err_exit…
208 testout=${ printf "%B\n" testbody | sed 's/<CS>/$(/g;s/<CE>/)/g' | ${SHELL} 2>&1 || err_exit "comma…
212 testout=${ printf "%B\n" testbody | sed 's/<CS>/${ /g;s/<CE>/ ; }/g' | ${SHELL} 2>&1 || err_exit "c…
216 testout=${ printf "%B\n" testbody | sed 's/<CS>/$( ulimit -c 0 ; /g;s/<CE>/)/g' | ${SHELL} 2>&1 || …
220 testout=${ printf "%B\n" testbody | sed 's/<CS>/$( ( /g;s/<CE>/) )/g' | ${SHELL} 2>&1 || err_exit "…
224 testout=${ printf "%B\n" testbody | sed 's/<CS>/${ ( /g;s/<CE>/) ; }/g' | ${SHELL} 2>&1 || err_exit…
/titanic_51/usr/src/cmd/ast/libshell/common/tests/
H A Dsun_solaris_command_substitution.sh164 testout=${ printf "%B\n" testbody | sed 's/<CS>/$(/g;s/<CE>/)/g' | ${SHELL} 2>&1 || err_exit "command returned exit code $?" }
168 testout=${ printf "%B\n" testbody | sed 's/<CS>/${ /g;s/<CE>/ ; }/g' | ${SHELL} 2>&1 || err_exit "command returned exit code $?" }
172 testout=${ printf "%B\n" testbody | sed 's/<CS>/$( ulimit -c 0 ; /g;s/<CE>/)/g' | ${SHELL} 2>&1 || err_exit "command returned exit code $?" }
176 testout=${ printf "%B\n" testbody | sed 's/<CS>/$( ( /g;s/<CE>/) )/g' | ${SHELL} 2>&1 || err_exit "command returned exit code $?" }
180 testout=${ printf "%B\n" testbody | sed 's/<CS>/${ ( /g;s/<CE>/) ; }/g' | ${SHELL} 2>&1 || err_exit "command returned exit code $?" }
208 testout=${ printf "%B\n" testbody | sed 's/<CS>/$(/g;s/<CE>/)/g' | ${SHELL} 2>&1 || err_exit "command returned exit code $?" }
212 testout=${ printf "%B\n" testbody | sed 's/<CS>/${ /g;s/<CE>/ ; }/g' | ${SHELL} 2>&1 || err_exit "command returned exit code $?" }
216 testout=${ printf "%B\n" testbody | sed 's/<CS>/$( ulimit -c 0 ; /g;s/<CE>/)/g' | ${SHELL} 2>&1 || err_exit "command returned exit code $?" }
220 testout=${ printf "%B\n" testbody | sed 's/<CS>/$( ( /g;s/<CE>/) )/g' | ${SHELL} 2>&1 || err_exit "command returned exit code $?" }
224 testout=${ printf "%B\n" testbody | sed '
[all...]
/titanic_51/usr/src/lib/brand/shared/brand/common/
H A Dbrand_util.c332 brand_elf_data_t sed; in brand_post_init() local
359 B_ELFDATA, (void *)&sed)) != 0) { in brand_post_init()
404 if (sed.sed_base == NULL) { in brand_post_init()
408 ap->a_un.a_val = sed.sed_base; in brand_post_init()
412 ap->a_un.a_val = sed.sed_entry; in brand_post_init()
415 ap->a_un.a_val = sed.sed_phdr; in brand_post_init()
418 ap->a_un.a_val = sed.sed_phent; in brand_post_init()
421 ap->a_un.a_val = sed.sed_phnum; in brand_post_init()
439 if (sed.sed_lddata == NULL) { in brand_post_init()
443 ap->a_un.a_val = sed in brand_post_init()
[all...]
/titanic_51/usr/src/common/smbios/
H A Dmktables.sh141 sed -n "s@$pattern@$replace@p" < $1 || exit 1
160 sed -n "s@$pattern@$replace@p" < $1 | sed 's/ ([RO]))/)/' | \
161 sed 's/"/\\"/g' | sed 's/(/("/;s/);$/");/' || exit 1
/titanic_51/usr/src/lib/libipmi/common/
H A Dmktables.sh64 cat $libipmi_h | sed -n "s/$pattern/$replace/p" || exit 1
77 cat $libipmi_h | sed -n "s/$pattern/$replace/p" || exit 1
90 cat $libipmi_h | sed -n "s/$pattern/$replace/p" || exit 1
103 cat $libipmi_h | sed -n "s/$pattern/$replace/p" || exit 1
116 cat $libipmi_h | sed -n "s/$pattern/$replace/p" || exit 1
/titanic_51/usr/src/cmd/sed/
H A DPOSIX6 Section 4.55: sed - Stream editor
13 undocumented inconsistencies between the historical versions of sed and
15 implementing a POSIX-compatible version of sed, and should not be
19 1. 32V and BSD derived implementations of sed strip the text
23 #!/bin/sed -f
36 sed do not do this stripping. The argument against stripping is
37 that it is difficult to write sed scripts that have leading blanks
39 difficult to write readable sed scripts unless indentation is allowed
44 2. Historical versions of sed required that the w flag be the last
48 3. Historical versions of sed require
[all...]
/titanic_51/usr/src/cmd/ipf/tools/
H A DMakefile.tools123 sed -e 's/yy/ipf_yy/g' -e 's/y.tab.h/ipf_y.c/' \
125 sed -e 's/yy/ipf_yy/g' -e 's/y.tab.h/ipf_y.h/' \
136 sed -e 's/yy/ipf_yy/g' -e 's/y.tab.h/ipf_y.h/' \
140 sed -e 's/yy/ipf_yy/g' ../lexer.h > $@
162 sed -e 's/yy/ipmon_yy/g' \
166 sed -e 's/yy/ipmon_yy/g' -e 's/y.tab.h/ipmon_y.h/' \
176 sed -e 's/yy/ipmon_yy/g' -e 's/y.tab.h/ipmon_y.h/' \
180 sed -e 's/yy/ipmon_yy/g' ../lexer.h > $@
193 sed -e 's/yy/ipnat_yy/g' \
197 sed
[all...]
/titanic_51/usr/src/grub/grub-0.97/docs/
H A DMakefile.in318 $$restore $$backupdir/* `echo "./$@" | sed 's|[^/]*$$||'`; \
378 install-info --version 2>&1 | sed 1q | grep -i -v debian) >/dev/null 2>&1; then \
381 relfile=`echo "$$file" | sed 's|^.*/||'`; \
389 relfile=`echo "$$file" | sed 's|^.*/||'`; \
390 relfile_i=`echo "$$relfile" | sed 's|\.info$$||;s|$$|.i|'`; \
398 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
402 $(srcdir)/*) base=`echo "$$base" | sed "s|^$$srcdirstrip/||"`;; \
422 i_i=`echo "$$i" | sed 's|\.info$$||;s|$$|.i|'`; \
439 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
444 inst=`echo $$i | sed
[all...]
/titanic_51/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A DMakefile62 sed 's/[0-9]"/& },/' |\
63 sed 's/.*ql_fw_/{ 0x/' |\
64 sed 's/.c:#define/,/' |\
65 sed 's/FW_VERSION_STRING//' >> $@
/titanic_51/usr/src/boot/sys/boot/arm/ixp425/boot2/
H A DMakefile44 cat $S/conf/ldscript.$M|sed s/KERNPHYSADDR/${KERNPHYSADDR}/g| \
45 sed s/KERNVIRTADDR/${KERNVIRTADDR}/g | \
46 sed s/" + SIZEOF_HEADERS"// > ldscript.$M
53 sed -e 's/string\.h/lib.h/' < $S/../lib/libc/string/memchr.c > \
57 sed -e 's/string\.h/lib.h/' < $S/../lib/libc/string/memmem.c > \
72 sed -e 's/extern void putstr (char/extern void putstr (const char/' < \

12345678910>>...15