Lines Matching full:sed
65 */*) dir=`echo "$1" | sed -e 's|/[^/]*$|/|'`;;
74 base=`echo "$1" | sed -e 's|^.*/||' -e 's/\.[^.]*$//'`
98 { sed -e "s,^.*\.[$lower]*:,$object:," < "$tmpdepfile"
99 sed -e "s,^.*\.[$lower]*:[$tab ]*,," -e 's,$,:,' < "$tmpdepfile"
126 sed 's|[^\\/]*$|'${DEPDIR-.deps}'/&|;s|\.\([^.]*\)$|.P\1|;s|Pobj$|Po|'`}
127 tmpdepfile=${tmpdepfile-`echo "$depfile" | sed 's/\.\([^.]*\)$/.T\1/'`}
155 cygpath_u='sed s,\\\\,/,g'
163 cygpath_u='sed s,\\\\,/,g'
227 sed -e 's/^[^:]*: / /' \
239 ## Some versions of the HPUX 10.20 sed can't process this invocation
240 ## correctly. Breaking it into two sed invocations is a workaround.
242 | sed -e 's/^\\$//' -e '/^$/d' -e "s|.*$object$||" -e '/:$/d' \
243 | sed -e 's/$/ :/' >> "$depfile"
270 # clever and replace this with sed code, as IRIX sed won't handle
272 # IRIX 6.2 sed, 8192 in IRIX 6.5). We also remove comment lines;
276 | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' \
281 | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
352 sed -e "s|.*:|$object :|" < "$tmpdepfile" > "$depfile"
355 sed -n -e 's|^ *\(.*\) *\\$|\1:|p' < "$tmpdepfile" >> "$depfile"
427 sed "s,^[^:]*:,$object :," < "$tmpdepfile" > "$depfile"
428 # Some versions of the HPUX 10.20 sed can't process this invocation
429 # correctly. Breaking it into two sed invocations is a workaround.
430 sed 's,^[^:]*: \(.*\)$,\1,;s/^\\$//;/^$/d;/:$/d' < "$tmpdepfile" \
431 | sed -e 's/$/ :/' >> "$depfile"
464 sed -e "s,^.*\.[$lower]*:,$object:," "$tmpdepfile" > "$depfile"
466 sed -ne '2,${
535 # The first sed program below extracts the file names and escapes
536 # backslashes for cygpath. The second sed program outputs the file
539 # works with sed implementations that can handle large buffers.
540 sed < "$tmpdepfile" -n '
545 }' | $cygpath_u | sort -u | sed -n '
607 sed "s|^[$tab ]*[^:$tab ][^:][^:]*:[$tab ]*|$object: |" > "$tmpdepfile"
610 # Some versions of the HPUX 10.20 sed can't process this sed invocation
611 # correctly. Breaking it into two sed invocations is a workaround.
613 | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
614 | sed -e 's/$/ :/' >> "$depfile"
660 obj_suffix=`echo "$object" | sed 's/^.*\././'`
666 sed "s|^.*\($object *:\)|\1|" "$tmpdepfile" > "$depfile"
667 # Some versions of the HPUX 10.20 sed can't process the last invocation
668 # correctly. Breaking it into two sed invocations is a workaround.
669 sed '1,2d' "$tmpdepfile" \
671 | sed -e 's/^\\$//' -e '/^$/d' -e '/:$/d' \
672 | sed -e 's/$/ :/' >> "$depfile"
709 | sed -n -e '/^# [0-9][0-9]* "\([^"]*\)".*/ s:: \1 \\:p' \
711 | sed '$ s: \\$::' > "$tmpdepfile"
715 sed < "$tmpdepfile" '/^$/d;s/^ //;s/ \\$//;s/$/ :/' >> "$depfile"
755 sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
758 sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::'"$tab"'\1 \\:p' >> "$depfile"
760 sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"