source: cpc/trunk/project/batch/amendements/compute_latest_loi.sh @ 2649

Last change on this file since 2649 was 2649, checked in by goya, 9 years ago

Revert de r2648

File size: 240 bytes
Line 
1#!/bin/bash
2
3loi=$1
4
5rm -f html/*
6
7perl download_amendements_loi.pl $loi > /tmp/download_amendements.log
8
9for file in html/*; do 
10        fileout=$(echo $file | sed 's/html/json/' | sed 's/\.asp/\.xml/')
11        perl cut_amdmt.pl $file > $fileout
12done;
13
Note: See TracBrowser for help on using the repository browser.