User:Kevin Reid/Task list updater.e: Difference between revisions

description
m (lil bugfix for when it has no work to do)
(description)
 
(One intermediate revision by the same user not shown)
Line 1:
This script updates the classified task lists I maintain (such as [[../E tasks]]) by moving completed tasks to the completed list and adding new tasks. It takes a language name (with underscores) as a parameter, and outputs the updated source of the task page on stdout.
 
<lang e>#!/usr/bin/env rune
pragma.syntax("0.9")
Line 6 ⟶ 8:
 
def unimpURL := <http>[`//rosettacode.org/wiki/Reports:Tasks_not_implemented_in_$lang`]
def catURL := <http>[`//rosettacode.org/mw/index.php?title=User:Kevin_Reid/E_tasks${lang}_tasks&action=raw`]
 
def unimpText := unimpURL.getText()