Home
last modified time | relevance | path

Searched refs:sed (Results 1 – 25 of 340) 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 Ddepcomp68 sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
69 tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
128 sed -e 's/^[^:]*: / /' \
143 sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' | sed -e 's/$/ :/' >> "$depfile"
179 | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
187 | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
204 stripped=`echo "$object" | sed 's/\(.*\)\..*$/\1/'`
215 stripped=`echo "$stripped" | sed 's,^.*/,,'`
230 sed -e "s,^$outname:,$object :," < "$tmpdepfile" > "$depfile"
231 sed -e "s,^$outname: \(.*\)$,\1:," < "$tmpdepfile" >> "$depfile"
[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 -n 's/.*--output=\([^ ]*\).*/\1/p'`
[all …]
H A Dconfig.status.solaris75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
168 sed '=' <$as_myself |
169 sed '
256 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
465 sed 's/,@/@@/; s/@,/@@/; s/,;t t$/@;t t/; /@;t t$/s/[\\&,]/\\&/g;
466 s/@@/,@/; s/@@/@,/; s/@;t t$/,;t t/' >$tmp/subs.sed <<\CEOF
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
601 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
622 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
[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 …
299 …echo ${UNAME_MACHINE}-dec-osf`echo ${UNAME_RELEASE} | sed -e 's/^[PVTX]//' | tr 'ABCDEFGHIJKLMNOPQ…
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 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
[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 -e 's/86-.*/86-pc/'`
[all …]
/illumos-gate/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 's%r\{0,1\}\(fd[0-9]*\).*$%r\1a%'`
[all …]
/illumos-gate/usr/src/lib/libdtrace/
H A DMakefile.com114 CLEANFILES += ../common/procfs.sed ../common/procfs.d
115 CLEANFILES += ../common/io.sed ../common/io.d
116 CLEANFILES += ../common/ip.sed ../common/ip.d
117 CLEANFILES += ../common/net.sed ../common/net.d
120 CLEANFILES += ../common/sysevent.sed ../common/sysevent.d
121 CLEANFILES += ../common/tcp.sed ../common/tcp.d
122 CLEANFILES += ../common/udp.sed ../common/udp.d
199 ../common/%.sed: ../common/%.sed.in
201 sed 's/\&/\\\&/g' | grep '^s/' > $@
203 ../common/procfs.d: ../common/procfs.sed ../common/procfs.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.c334 brand_elf_data_t sed; in brand_post_init() local
361 B_ELFDATA, (void *)&sed)) != 0) { in brand_post_init()
406 if (sed.sed_base == 0) { in brand_post_init()
410 ap->a_un.a_val = sed.sed_base; in brand_post_init()
414 ap->a_un.a_val = sed.sed_entry; in brand_post_init()
417 ap->a_un.a_val = sed.sed_phdr; in brand_post_init()
420 ap->a_un.a_val = sed.sed_phent; in brand_post_init()
423 ap->a_un.a_val = sed.sed_phnum; in brand_post_init()
441 if (sed.sed_lddata == 0) { in brand_post_init()
445 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/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/' \
170 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' \
190 sed -e 's/yy/ipnat_yy/g' -e 's/y.tab.h/ipnat_y.h/' \
[all …]
/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/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 required that whitespace follow a w
[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/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.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 -e 's/\\.[0-9a-z]*$$//'`; \
[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 DMakefile167 @(sed -e "/^#/d" -e s/#.*$$// $(DIR)/networks $(CHKPIPE)) |( awk \
211 @(sed -e "/^#/d" -e s/#.*$$// $(DIR)/protocols $(CHKPIPE)) |( awk \
233 @(sed -e '/^#/d' -e s/#.*$$// -e 's/[ ][ ]*$$//' \
236 |( sed -e 's/[ ][ ]*/ /g' $(CHKPIPE))\
263 @(sed "/^#/d" < $(DIR)/publickey $(CHKPIPE))| $(MAKEDBM) - $(YPDBDIR)/$(DOM)/publickey.byname;
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' \
[all …]

12345678910>>...14