X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b8df87e176f27b25534f27d7e240defa32ca35bc..e49d3a1ebc59da7d2e1a02ccf9a56ddc5223beef:/examples/platforms/syscoord/generate_peer_platform.pl?ds=sidebyside
diff --git a/examples/platforms/syscoord/generate_peer_platform.pl b/examples/platforms/syscoord/generate_peer_platform.pl
index 91c062cfc9..d5eccd1866 100755
--- a/examples/platforms/syscoord/generate_peer_platform.pl
+++ b/examples/platforms/syscoord/generate_peer_platform.pl
@@ -1,6 +1,6 @@
#!/usr/bin/env perl
-# Copyright (c) 2011-2019. The SimGrid Team.
+# Copyright (c) 2011-2023. The SimGrid Team.
# All rights reserved.
# This program is free software; you can redistribute it and/or modify it
@@ -23,12 +23,12 @@ open INPUT, $ARGV[0] or die "Unable to open $ARGV[1]: $!\n";
while(defined($line=))
{
next if ($line =~ /^#/);
- # 278 7.2 -9.4 h 2.3
- if($line =~ /^([^ ]*) ([^ ]*) ([^ ]*) h ([^ ]*) *$/) {
+ # 278 7.2 -9.4 h 2.3
+ if($line =~ /^(\S*) (\S*) (\S*) h (\S*) *$/) {
print "\t\t\n";
next;
}
die "Parse error: $line\n";
-}
+}
print "\t\n";
print "\n";