Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
e0c96253
Commit
e0c96253
authored
May 17, 2005
by
Leigh B. Stoller
Browse files
Fix the regex so that it just takes whatever tmcd gives it.
parent
1ecc7196
Changes
1
Hide whitespace changes
Inline
Side-by-side
tmcd/common/runstartup
View file @
e0c96253
#!/usr/bin/perl -wT
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-200
4
University of Utah and the Flux Group.
# Copyright (c) 2000-200
5
University of Utah and the Flux Group.
# All rights reserved.
#
use
English
;
...
...
@@ -74,7 +74,7 @@ my $runcmd;
my
$login
;
while
(
<
CMD
>
)
{
if
(
$_
=~
/CMD=\'(
[-\@\w.\/\+ ]+)\' UID=([0-9a-z]+)
/
)
{
if
(
$_
=~
/
^
CMD=\'(
.*)\' UID=(.*)$
/
)
{
$runcmd
=
$
1
;
$login
=
$
2
;
}
...
...
Write
Preview
Supports
Markdown
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