A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added platform for ns3 wifi example
[simgrid.git]
/
tools
/
internal
/
update_copyright_header
diff --git
a/tools/internal/update_copyright_header
b/tools/internal/update_copyright_header
index 6cccb337cc9a9965f82f9abe7c10b7171b5214bf..eb1e9fe6bdfb8d13174eae78859f9823d8607644 100755
(executable)
--- a/
tools/internal/update_copyright_header
+++ b/
tools/internal/update_copyright_header
@@
-35,7
+35,7
@@
get_dates() {
s/[, ]\+/\n/g
p
}' "$file" \
s/[, ]\+/\n/g
p
}' "$file" \
- | while read date; do
+ | while read
-r
date; do
case "$date" in
"")
;;
case "$date" in
"")
;;
@@
-54,9
+54,9
@@
format_dates() {
local first
local last
local next
local first
local last
local next
- read first
+ read
-r
first
last=$first
last=$first
- while read next; do
+ while read
-r
next; do
if [ $next -eq $((last + 1)) ]; then
last=$next
else
if [ $next -eq $((last + 1)) ]; then
last=$next
else