Lines Matching full:sed

67     */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;;
76 base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'`
100 { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile"
101 sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile"
127 sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
128 tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
156 cygpath_u='sed s,\\\\,/,g'
164 cygpath_u='sed s,\\\\,/,g'
228 sed -e 's/^[^:]*: / /' \
240 ## Some versions of the HPUX 10.20 sed can't process this invocation
241 ## correctly. Breaking it into two sed invocations is a workaround.
243 | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
244 | sed -e 's/$/ :/' >> "$depfile"
271 # clever and replace this with sed code, as IRIX sed won't handle
273 # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
277 | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \
282 | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
353 sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile"
356 sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile"
428 sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
429 # Some versions of the HPUX 10.20 sed can't process this invocation
430 # correctly. Breaking it into two sed invocations is a workaround.
431 sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \
432 | sed -e 's/$/ :/' >> "$depfile"
465 sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile"
467 sed -ne '2,${
536 # The first sed program below extracts the file names and escapes
537 # backslashes for cygpath. The second sed program outputs the file
540 # works with sed implementations that can handle large buffers.
541 sed < "$tmpdepfile" -n '
546 }' | $cygpath_u | sort -u | sed -n '
608 sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile"
611 # Some versions of the HPUX 10.20 sed can't process this sed invocation
612 # correctly. Breaking it into two sed invocations is a workaround.
614 | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
615 | sed -e 's/$/ :/' >> "$depfile"
661 obj_suffix=`echo "$object" | sed 's/^.*\././'`
667 sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile"
668 # Some versions of the HPUX 10.20 sed can't process the last invocation
669 # correctly. Breaking it into two sed invocations is a workaround.
670 sed '1,2d' "$tmpdepfile" \
672 | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
673 | sed -e 's/$/ :/' >> "$depfile"
710 | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
712 | sed '$ s: \\$::' > "$tmpdepfile"
716 sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
756 sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
759 sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile"
761 sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"