2012-03-29 12:16:17 +02:00
|
|
|
curl "https://docs.google.com/spreadsheet/pub?hl=en_US&hl=en_US&key=0AqPp4y2wyQsbdGQ1V3pRRDg5NEpGVWpubzdRZ0tjUWc&single=true&gid=0&output=txt" | grep -v "New format" > licenses_changes.txt
|
2012-10-06 15:08:37 +02:00
|
|
|
for i in `w3m -dump -cols 1000 http://spdx.org/licenses/ | grep "License Text" | sed -e 's, *Y *License Text,,; s, *License Text,,; s,.* ,,;'`; do
|
|
|
|
echo "$i $i" >> licenses_changes.txt ;
|
|
|
|
echo "$i+ $i+" >> licenses_changes.txt ;
|
|
|
|
done
|
2012-03-29 12:16:17 +02:00
|
|
|
sort -o licenses_changes.txt -u licenses_changes.txt
|
|
|
|
( echo "First line" ; cat licenses_changes.txt ) > t
|
|
|
|
mv t licenses_changes.txt
|