Searched refs:sed (Results 1 - 25 of 286) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/common/ucode/
H A Dmkerrno.sh54 ( sed -n "s/$pattern/$replace/p" < $1 | sed -n "s/$open/$openrepl/p" |
55 sed -n "s/$close/$closerepl/p" ) || exit 1
/illumos-gate/usr/src/lib/scsi/libscsi/common/
H A Dmkerrno.sh52 ( sed -n "s/$pattern/$replace/p" | sed -n "s/$open/$openrepl/p" |
53 sed -n "s/$close/$closerepl/p" ) || exit 1
/illumos-gate/usr/src/lib/scsi/libses/common/
H A Dmkerrno.sh51 ( sed -n "s/$pattern/$replace/p" | sed -n "s/$open/$openrepl/p" |
52 sed -n "s/$close/$closerepl/p" ) || exit 1
/illumos-gate/usr/src/lib/scsi/libsmp/common/
H A Dmkerrno.sh49 ( sed -n "s/$pattern/$replace/p" | sed -n "s/$open/$openrepl/p" |
50 sed -n "s/$close/$closerepl/p" ) || exit 1
/illumos-gate/usr/src/lib/libdtrace/common/
H A Dmkerrno.sh40 sed -n "s/$pattern/$replace/p" | tr '@' '\n'
H A Dmkerrtags.sh44 sed -n "s/$pattern/$replace/p" || exit 1
H A Dmksignal.sh40 sed -n "s/$pattern/$replace/p;/SIGRTMAX/q" | tr '@' '\n'
/illumos-gate/usr/src/cmd/mdb/common/modules/dtrace/
H A Dmkdof.sh47 sed -n "s/$pattern/$replace/p"
/illumos-gate/usr/src/cmd/print/printmgr/com/sun/admin/pm/client/helptools/
H A Dextract36 print -n `echo "$line" | sed s/'\.'/\ / | \
37 sed s/\"/\ /g | awk '{print \$2}'`
41 echo "$line" | grep '^\".*+$' | sed s/^\"//g | sed s/\"\ +\$//
/illumos-gate/usr/src/cmd/diffmk/
H A Ddiffmk.sh41 diff -e $1 $2 | (sed -n -e '
65 }'; echo '1,$p') | ed - $1| sed -e '
H A DMakefile40 sed -e "s/TEXT_DOMAIN/${TEXT_DOMAIN}/g" $(PROG).sh > $@
47 grep gettext $(PROG).sh | tr '`' ' ' | sed -e "s/TEXT_DOMAIN/\(/" | sed -e "s/$$/);/" > $(PROG).i
/illumos-gate/usr/src/lib/scsi/plugins/ses/libses/common/
H A Dmkelemtype.sh48 cat $file | sed -n "s/$pattern/$replace/p" | sed "s/$pattern2/$replace2/"
/illumos-gate/usr/src/common/smbios/
H A Dmktables.sh150 sed -n "s@$pattern@$replace@p" < $1 || exit 1
169 sed -n "s@$pattern@$replace@p" < $1 | sed 's/ ([RO]))/)/' | \
170 sed 's/"/\\"/g' | sed 's/(/("/;s/);$/");/' || exit 1
/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/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
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dmkerror.sh50 echo "$input" | sed -n "s/$pattern/$replace/p" | tr '[A-Z]' '[a-z]' || exit 1
60 echo "$input" | sed -n "s/$pattern/$replace/p" || exit 1
/illumos-gate/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//' >> $@
/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 > $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
/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/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/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...]
/illumos-gate/usr/src/grub/grub-0.97/
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 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...]
/illumos-gate/usr/src/boot/lib/libstand/
H A DMakefile.inc96 sed "s|bzlib_private\.h|libstand_bzlib_private.h|" $^ > $@
99 sed "s|bzlib_private\.h|libstand_bzlib_private.h|" $^ > $@
102 sed "s|bzlib_private\.h|libstand_bzlib_private.h|" $^ > $@
105 sed "s|bzlib_private\.h|libstand_bzlib_private.h|" $^ > $@
108 sed "s|bzlib_private\.h|libstand_bzlib_private.h|" $^ > $@
112 sed -e 's|<stdlib.h>|"stand.h"|' $^ > $@
122 sed -e "s|zutil\.h|libstand_zutil.h|" \
126 sed -e "s|zutil\.h|libstand_zutil.h|" \
130 sed -e "s|zutil\.h|libstand_zutil.h|" \
134 sed
[all...]

Completed in 83 milliseconds

1234567891011>>