Home
last modified time | relevance | path

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

12345678910>>...14

/illumos-gate/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 -n "s/$pattern/$replace/p" || exit 1
[all …]
H A Dmkerror.sh47 echo "$input" | sed -n "s/$pattern/$replace/p" || exit 1
84 echo "$input" | sed -n "s/$pattern/$replace/p" || exit 1
101 echo "$input" | sed -n "s/$pattern/$replace/p" || exit 1
118 echo "$input" | sed -n "s/$pattern/$replace/p" || exit 1
135 echo "$input" | sed -n "s/$pattern/$replace/p" || exit 1
152 echo "$input" | sed -n "s/$pattern/$replace/p" || exit 1
/illumos-gate/usr/src/grub/grub-0.97/
H A Ddepcomp128 sed -e 's/^[^:]*: / /' \
143 sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
215 stripped=`echo "$stripped" | sed 's,^.*/,,'`
275 sed -e 's/$/ :/' >> "$depfile"
285 dir=`echo "$object" | sed -e 's|/[^/]*$|/|'`
378 sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
422 sed '1,2d' "$tmpdepfile" | tr ' ' '
426 sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
464 sed '$ s: \\$::' > "$tmpdepfile"
497 . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
[all …]
H A Dmissing169 sed -e 's/^[^:]*://' -e 's/:.*//'`;;
183 sed 's/\.am$/.in/' |
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 -n 's/.*--output=\([^ ]*\).*/\1/p'`
291 file=`echo "$*" | sed -n 's/.*-o \([^ ]*\).*/\1/p'`
293 file=`echo "$*" | sed 's/.* \([^ ]*\) *$/\1/'`
315 firstarg=`echo "$firstarg" | sed s/o//`
[all …]
H A Dconfig.status.solaris168 sed '=' <$as_myself |
169 sed '
589 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
591 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
781 sed "/^[ ]*VPATH[ ]*=/{
881 cat >$tmp/defines.sed <<CEOF
916 sed -f $tmp/defines.sed $tmp/in >$tmp/out
923 cat >$tmp/undefs.sed <<CEOF
959 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
1160 mf=`echo "$mf" | sed -e 's/:.*$//'`
[all …]
H A Dconfig.guess38 me=`echo "$0" | sed -e 's,.*/,,'`
440 sed 's/^ //' << EOF >$dummy.c
536 sed 's/^ //' << EOF >$dummy.c
612 sed 's/^ //' << EOF >$dummy.c
668 sed 's/^ //' << EOF >$dummy.c
744 | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
815 …echo `echo ${UNAME_MACHINE}|sed -e 's,[-/].*$,,'`-unknown-gnu`echo ${UNAME_RELEASE}|sed -e 's,/.*$…
847 sed 's/^ //' << EOF >$dummy.c
866 sed 's/^ //' << EOF >$dummy.c
935 | sed -ne '/supported targets:/!d
[all …]
H A Dconfig.sub55 me=`echo "$0" | sed -e 's,.*/,,'`
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 -e 's/86-.*/86-pc/'`
191 basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
213 os=`echo $os | sed -e 's/windowsnt/winnt/'`
[all …]
/illumos-gate/usr/src/grub/grub-0.97/util/
H A Dgrub-install.in113 tmp_part=`echo "$1" | sed "s%$tmp_disk%%"` ;;
123 | sed 's%r\{0,1\}\(fd[0-9]*\).*$%r\1a%'`
151 | sed "s%s\([0-9]*\)[a-g]*$%\1%"`
157 | sed "s%[^a-g]*\([a-g]\)$%\1%"`
159 | sed "s%)%,$tmp_bsd_partition)%"`
165 | sed "s%s\([0-9]*\)[a-h]*$%\1%"`
171 | sed "s%s\{0,1\}[0-9]*\([a-h]\)$%\1%"`
173 | sed "s%)%,$tmp_bsd_partition)%"`
179 | sed "s%\([a-p]\)$%\1%"`
181 | sed "s%)%,$tmp_bsd_partition)%"`
[all …]
/illumos-gate/usr/src/lib/libdtrace/
H A DMakefile.com115 CLEANFILES += ../common/io.sed ../common/io.d
116 CLEANFILES += ../common/ip.sed ../common/ip.d
199 ../common/%.sed: ../common/%.sed.in
201 sed 's/\&/\\\&/g' | grep '^s/' > $@
204 sed -f ../common/procfs.sed < ../common/procfs.d.in > $@
207 sed -f ../common/io.sed < ../common/io.d.in > $@
210 sed -f ../common/ip.sed < ../common/ip.d.in > $@
213 sed -f ../common/net.sed < ../common/net.d.in > $@
216 sed -f ../common/sysevent.sed < ../common/sysevent.d.in > $@
219 sed -f ../common/tcp.sed < ../common/tcp.d.in > $@
[all …]
/illumos-gate/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 -f nsm_addr_clnt.sed < $@.tmp > $@
61 sed -e $(SED_INCL) < $@.tmp > $@
/illumos-gate/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/,.*$//'`
/illumos-gate/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 > $…
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
/illumos-gate/usr/src/test/util-tests/tests/awk/gnu/
H A Dpipeio2.ok1 'echo January 1997 | sed "s/[0-9]/./g"'
3 'echo S M Tu W Th F S | sed "s/[0-9]/./g"'
5 'echo 1 2 3 4 | sed "s/[0-9]/./g"'
7 'echo 5 6 7 8 9 10 11 | sed "s/[0-9]/./g"'
9 'echo 12 13 14 15 16 17 18 | sed "s/[0-9]/./g"'
11 'echo 19 20 21 22 23 24 25 | sed "s/[0-9]/./g"'
13 'echo 26 27 28 29 30 31 | sed "s/[0-9]/./g"'
/illumos-gate/usr/src/cmd/sgs/tools/
H A Dchkmsg.sh55 sed -e "s/_32$//" -e "s/_64$//" CATA_MSG_INTL_LIST | sort | uniq > _TMP
59 sed -e "s/_32$//" -e "s/_64$//" CATA_MSG_ORIG_LIST | sort | uniq > _TMP
69 sed -e "s/_32$//" -e "s/_64$//" MSG_INTL_LIST | sort | uniq > _TMP
73 sed -e "s/_32$//" -e "s/_64$//" MSG_ORIG_LIST | sort | uniq > _TMP
89 cat _TMP | sed "s/^/ /"
98 cat _TMP | sed "s/^/ /"
110 cat _TMP | sed "s/^/ /"
119 cat _TMP | sed "s/^/ /"
/illumos-gate/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
/illumos-gate/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 == 0) { 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 == 0) { in brand_post_init()
443 ap->a_un.a_val = sed.sed_lddata; in brand_post_init()
[all …]
/illumos-gate/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 "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…
/illumos-gate/usr/src/lib/libdtrace/i386/
H A DMakefile37 CLEANFILES += regs.sed regs.d
39 %.sed: %.sed.in
43 ../$(MACH)/regs.d: regs.sed regs.d.in
44 sed -f regs.sed < regs.d.in > $@
/illumos-gate/usr/src/cmd/ipf/tools/
H A DMakefile121 sed -e 's/yy/ipf_yy/g' -e 's/y.tab.h/ipf_y.c/' \
123 sed -e 's/yy/ipf_yy/g' -e 's/y.tab.h/ipf_y.h/' \
133 sed -e 's/yy/ipf_yy/g' -e 's/y.tab.h/ipf_y.h/' \
137 sed -e 's/yy/ipf_yy/g' lexer.h > $@
157 sed -e 's/yy/ipmon_yy/g' \
161 sed -e 's/yy/ipmon_yy/g' -e 's/y.tab.h/ipmon_y.h/' \
174 sed -e 's/yy/ipmon_yy/g' lexer.h > $@
186 sed -e 's/yy/ipnat_yy/g' \
203 sed -e 's/yy/ipnat_yy/g' lexer.h > $@
215 sed -e 's/yy/ippool_yy/g' \
[all …]
/illumos-gate/usr/src/common/smbios/
H A Dmktables.sh159 sed -n "s@$pattern@$replace@p" < $1 || exit 1
178 sed -n "s@$pattern@$replace@p" < $1 | sed 's/ ([RO]))/)/' | \
179 sed 's/"/\\"/g' | sed 's/(/("/;s/);$/");/' || exit 1
/illumos-gate/usr/src/cmd/sed/
H A DPOSIX6 Section 4.55: sed - Stream editor
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
59 for backslash. Some historical versions of sed displayed two
82 by semi-colons, e.g. 'sed -ne '1p;2p;3q' printed the first
92 sed -e '
141 sed", where they produce no output, and "ls | sed -e#", where they
161 of sed.
[all …]
/illumos-gate/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
/illumos-gate/usr/src/grub/grub-0.97/docs/
H A DMakefile.in381 relfile=`echo "$$file" | sed 's|^.*/||'`; \
389 relfile=`echo "$$file" | sed 's|^.*/||'`; \
439 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
445 inst=`echo $$inst | sed -e 's/^.*\///'`; \
460 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
466 inst=`echo $$inst | sed -e 's/^.*\///'`; \
484 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
490 inst=`echo $$inst | sed -e 's/^.*\///'`; \
505 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
511 inst=`echo $$inst | sed -e 's/^.*\///'`; \
[all …]
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A DMakefile64 sed 's/[0-9]"/& },/' |\
65 sed 's/.*ql_fw_/{ 0x/' |\
66 sed 's/.c:#define/,/' |\
67 sed 's/FW_VERSION_STRING//' >> $@
/illumos-gate/usr/src/cmd/ypcmd/net_files/
H A DMakefile236 |( sed -e 's/[ ][ ]*/ /g' $(CHKPIPE))\
316 sed -e "/^#/d" -e s/#.*$$// $(DIR)/timezone \
333 sed -e "/^#/d" -e s/#.*$$// $(DIR)/auto_master \
349 sed -e "/^#/d" -e s/#.*$$// $(DIR)/auto_home \
366 sed -e "/^#/d" -e s/#.*$$// $(RBACDIR)/auth_attr \
367 |sed -e '/\\$$/{:l' -e 'N;s/\\\n//;t h' -e ':h' \
386 sed -e "/^#/d" -e s/#.*$$// $(RBACDIR)/exec_attr \
387 |sed -e '/\\$$/{:l' -e 'N;s/\\\n//;t h' -e ':h' \
407 |sed -e '/\\$$/{:l' -e 'N;s/\\\n//;t h' -e ':h' \
426 sed -e "/^#/d" -e s/#.*$$// $(DIR)/user_attr \
[all …]

12345678910>>...14