From 43a4660919b8f9438b9e6753bfefa6fcad693ba3 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 20 Oct 2006 07:39:49 +0000 Subject: Fix sed options from the previous commit so that it doesn't create a backup file ending with "e". Thanks to grobian for spotting this issue. svn path=/main/trunk/; revision=4763 --- bin/dosed | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/dosed b/bin/dosed index e14194b28..5ae09b7ed 100755 --- a/bin/dosed +++ b/bin/dosed @@ -9,7 +9,7 @@ for x in "$@" ; do y="${D}${x}" if [ -e "${y}" ] ; then if [ -f "${y}" ] ; then - sed -ie "${mysed}" "${y}" + sed -i -e "${mysed}" "${y}" else echo "${y} is not a regular file!" exit 1 -- cgit v1.2.3-1-g7c22