Changeset 411 for trunk/push-web


Ignore:
Timestamp:
Jan 28, 2020, 4:45:14 PM (5 years ago)
Author:
g7moreau
Message:
  • error in digit glob
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/push-web

    r410 r411  
    6565
    6666old_switch_db=$((echo 'command <tt>klask exportsw --format txt</tt>';
    67       (cd ${TMP}/; ls -1 switch-db.20[[0-9]][[0-9]]-[[0-9]][[0-9]]-[[0-9]][[0-9]].[[0-9]][[0-9]]-[[0-9]][[0-9]].txt;) \
     67      (cd ${TMP}/; ls -1 switch-db.20[0-9][0-9]-[0-9][0-9]-[0-9][0-9].[0-9][0-9]-[0-9][0-9].txt;) \
    6868      | sed -e 's/^switch-db\.//; s/\.txt$//;' \
    6969      | xargs -r -I {} printf "<a href=\"switch-db.%s.txt\">%s</a>\n" '{}' '{}' \
     
    7272
    7373old_switch_map=$((echo 'graphviz';\
    74       (cd ${TMP}/; ls -1 switch-map.20[[0-9]][[0-9]]-[[0-9]][[0-9]]-[[0-9]][[0-9]].[[0-9]][[0-9]]-[[0-9]][[0-9]].txt;) \
     74      (cd ${TMP}/; ls -1 switch-map.20[0-9][0-9]-[0-9][0-9]-[0-9][0-9].[0-9][0-9]-[0-9][0-9].txt;) \
    7575      | sed -e 's/^switch-map\.//; s/\.txt$//;' \
    7676      | xargs -r -I {} printf "<a href=\"switch-map.%s.txt\">%s</a>\n" '{}' '{}' \
     
    286286      ${TMP}/*-db.txt \
    287287      ${TMP}/switch-map.txt \
    288       ${TMP}/*.20[[0-9]][[0-9]]-[[0-9]][[0-9]]-[[0-9]][[0-9]].[[0-9]][[0-9]]-[[0-9]][[0-9]].txt \
     288      ${TMP}/*.20[0-9][0-9]-[0-9][0-9]-[0-9][0-9].[0-9][0-9]-[0-9][0-9].txt \
    289289      ${REMOTE_FOLDER}/
    290290
     
    301301      ${TMP}/*-db.txt \
    302302      ${TMP}/switch-map.txt \
    303       ${TMP}/*.20[[0-9]][[0-9]]-[[0-9]][[0-9]]-[[0-9]][[0-9]].[[0-9]][[0-9]]-[[0-9]][[0-9]].txt \
     303      ${TMP}/*.20[0-9][0-9]-[0-9][0-9]-[0-9][0-9].[0-9][0-9]-[0-9][0-9].txt \
    304304      ${REMOTE_USER}@${REMOTE_SERVER}:${REMOTE_FOLDER}/
    305305
Note: See TracChangeset for help on using the changeset viewer.