guest@dotshare [~/groups/shells/tcsh] $ ls ask-username-for-rcs-commits/ | cat

ask username for rcs commits (raw, dl)

mw Dec 10, 2015 (shells/tcsh)
1
2
3
4
5
6
# remind admins to enter their correct name during commit
alias ci 'eval '\''if ( ! $?RCS_COMMITTER ) then \\
                      echo -n '\''Please enter your first name: '\'' \\
                      set RCS_COMMITTER = "$<" \\
              endif \\
              /usr/bin/ci -w"${RCS_COMMITTER}" '\' 

CLICK TO VIEW

x

Notes

just a snippet to make people enter their identification when committing things to rcs. ridiculously hard in csh so I’m posting mine, hoping to save someone else some work. I’m never gonna touch csh scripts again.