Changes between Initial Version and Version 1 of Ticket #14184


Ignore:
Timestamp:
02/26/13 10:34:05 (7 years ago)
Author:
jdemeyer
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #14184 – Description

    initial v1  
     1Execute
     2{{{
     3for file in `find devel/sage/sage -name '*.py*'`; do
     4sed -i -f /dev/stdin $file <<'EOF'
     5
     6s/# *requires optional/# optional:/i;
     7s/# *optional and /# optional; /i;
     8
     9s/# *optional[-: ]* needs /# optional: /i;
     10s/# *optional[-: ]* requires /# optional: /i;
     11s/# *optional[-: ]* the /# optional: /i;
     12s/# *optional[-: ]* package/# optional:/i;
     13s/# *optional[-: ]* \([A-Za-z0-9]*\) command/# optional: \1/i;
     14s/# *optional[-: ]* \([A-Za-z0-9]*\) and /# optional: \1 /i;
     15s/# *optional[-: ]* \([A-Za-z0-9]*\) \(not tested\)/# optional: \1; \2/i;
     16
     17s/# *optional[-: ]* internet connection/# optional: internet/i;
     18s/# *optional[-: ]* GAP package \([A-Za-z0-9']*\)/# optional: gap_packages (\1 package)/i;
     19s/# *optional[-: ]* GAP optional databases*/# optional: database_gap/i;
     20
     21s/# *optional[-: ]* '\(.*\)'/# optional: \1/i;
     22
     23s/\(# *optional\)[-: ]*$/\1/i;
     24s/# *optional[-: ]* \(.*\)# *$/# optional: \1/i;
     25
     26EOF
     27done
     28}}}