This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env groovy | |
import groovy.time.* | |
// Export File from http://reprap.org/wiki/Special:Export, using category: "Development" | |
def f2= new File('RepRapWiki-DevelopmentPages_LatestRevisions.xml') | |
def records = new XmlSlurper().parseText(f2.getText()) | |
def pages = records.page |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -f | |
git branch | while read line; do | |
current=' ' | |
name=${line##\* } ## removes leading * for current | |
if [ ! "$name" = "$line" ]; then current='* '; fi | |
description=`git config branch.$name.description` | |
echo "$current" $name : $description | |
done |