ChangeLog:

* lib/cedit.menu: `id -un` is not portable, '^' has to be quoted

--- cedit.menu~	Sat Aug 24 20:39:08 2002
+++ cedit.menu	Fri Jul 25 12:17:52 2003
@@ -36,7 +36,9 @@
         unset LANG
 	unset LANGUAGE
 	LC_ALL=
-	AUTHOR="`awk -F: /^\`id -un\`:/'{print($5)}' /etc/passwd`"
+	# `id -un` is not portable, '^' has to be quoted
+	AUTHOR="`id|sed -e 's/^[^(]*(//' -e 's/).*//'`"
+	AUTHOR="`awk -F: '/^'$AUTHOR:/'{print $5}' /etc/passwd`"
         cat >>%b <<EOF
         #----------------------------------------------------------------------
         # Description:
@@ -127,7 +129,9 @@
         unset LANG
 	unset LANGUAGE
 	LC_ALL=
-	AUTHOR="`awk -F: /^\`id -un\`:/'{print($5)}' /etc/passwd`"
+	# `id -un` is not portable, '^' has to be quoted
+	AUTHOR="`id|sed -e 's/^[^(]*(//' -e 's/).*//'`"
+	AUTHOR="`awk -F: '/^'$AUTHOR:/'{print $5}' /etc/passwd`"
         cat >>%b <<EOF
         #----------------------------------------------------------------------
         # Description:
@@ -219,7 +223,9 @@
         unset LANG
 	unset LANGUAGE
 	LC_ALL=
-	AUTHOR="`awk -F: /^\`id -un\`:/'{print($5)}' /etc/passwd`"
+	# `id -un` is not portable, '^' has to be quoted
+	AUTHOR="`id|sed -e 's/^[^(]*(//' -e 's/).*//'`"
+	AUTHOR="`awk -F: '/^'$AUTHOR:/'{print $5}' /etc/passwd`"
         cat >> %b <<EOF
         /********************************************************************
         * Description:
@@ -420,7 +426,9 @@
         unset LANG
 	unset LANGUAGE
 	LC_ALL=
-	AUTHOR="`awk -F: /^\`id -un\`:/'{print($5)}' /etc/passwd`"
+	# `id -un` is not portable, '^' has to be quoted
+	AUTHOR="`id|sed -e 's/^[^(]*(//' -e 's/).*//'`"
+	AUTHOR="`awk -F: '/^'$AUTHOR:/'{print $5}' /etc/passwd`"
         cat >>%b <<EOF
         ----------------------------------------------------------------------
         Description:
@@ -440,7 +448,9 @@
 #----------------------- Begin common section ---------------------------------
 I       Insert `Changelog' string
         DATE="`date +%%Y-%%m-%%d`"
-	AUTHOR="`awk -F: /^\`id -un\`:/'{print($5)}' /etc/passwd`"
+	# `id -un` is not portable, '^' has to be quoted
+	AUTHOR="`id|sed -e 's/^[^(]*(//' -e 's/).*//'`"
+	AUTHOR="`awk -F: '/^'$AUTHOR:/'{print $5}' /etc/passwd`"
         EMAIL="<$REPLYTO>"
         echo "$DATE  $AUTHOR  $EMAIL" >%b
 
