lilalo
diff l3scripts @ 51:e0db0f8bb482
Автоматическая генерация имен сущностей для персонализированных методичек
author | devi |
---|---|
date | Sun Dec 18 16:56:09 2005 +0200 (2005-12-18) |
parents | d021553f4e98 |
children | f9447da96f15 |
line diff
1.1 --- a/l3scripts Sun Dec 04 18:44:21 2005 +0200 1.2 +++ b/l3scripts Sun Dec 18 16:56:09 2005 +0200 1.3 @@ -24,6 +24,17 @@ 1.4 done 1.5 1.6 ###makeout 1.7 +cat > /tmp/lm.utf8 <<LIST 1.8 +<!ENTITY %1 "%2"> 1.9 +lm-name $firstname 1.10 +lm-instructor "$instructor" 1.11 +lm-manager "$manager" 1.12 +lm-start-date $date 1.13 +lm-stop-date $stopdate 1.14 +lm-hostname $host 1.15 +lm-ipaddress $ipaddress 1.16 +LIST 1.17 +cat /tmp/lm.utf8 | iconv -f UTF-8 -t KOI8-R > /tmp/lm.gent 1.18 common=$course-$date 1.19 personal=$course-$date-$email 1.20 mkdir -p $outpath/${common}/{Lablogs,Docs}