Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
0a4e59d9
Commit
0a4e59d9
authored
Mar 21, 1995
by
Paul Eggert
Browse files
Treat -u 'LOGIN:FULLNAME:MAILADDR' as if it were
-u 'LOGIN<tab>FULLNAME<tab>MAILADDR'.
parent
c0a7db84
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
4 deletions
+14
-4
lib-src/rcs2log
lib-src/rcs2log
+14
-4
No files found.
lib-src/rcs2log
View file @
0a4e59d9
...
...
@@ -12,7 +12,7 @@
# Author: Paul Eggert <eggert@twinsun.com>
# $Id: rcs2log,v 1.19 1995/03/21 05:
11:06
eggert Exp $
# $Id: rcs2log,v 1.19 1995/03/21 05:
37:42
eggert Exp
eggert
$
# Copyright 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
...
...
@@ -64,14 +64,21 @@ do
loginFullnameMailaddrs
=
$loginFullnameMailaddrs$nl$2$tab$3$tab$4
shift
;
shift
;
shift
;;
-u
)
# If $2 is not tab-separated, use colon for separator.
case
${
2
?
}
in
*
"
$nl
"
*
)
echo
>
&2
"
$0
: -u '
$2
': newlines not allowed"
exit
1
;;
*
"
$tab
"
*
"
$tab
"
*
"
$tab
"
*
)
*
"
$tab
"
*
)
t
=
$tab
;;
*
)
t
=
:
esac
case
$2
in
*
"
$t
"
*
"
$t
"
*
"
$t
"
*
)
echo
>
&2
"
$0
: -u '
$2
': too many fields"
exit
1
;;
*
"
$t
ab
"
*
"
$t
ab
"
*
)
*
"
$t
"
*
"
$t
"
*
)
;;
*
)
echo
>
&2
"
$0
: -u '
$2
': not enough fields"
...
...
@@ -244,7 +251,10 @@ EOF
IFS
=
$nl
for
loginFullnameMailaddr
in
$loginFullnameMailaddrs
do
IFS
=
$tab
case
$loginFullnameMailaddr
in
*
"
$tab
"
*
)
IFS
=
$tab
;;
*
)
IFS
=
:
esac
set
x
$loginFullnameMailaddr
login
=
$2
fullname
=
$3
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment