Check-in [68ee6a1cb4]
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Template to generate files
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 68ee6a1cb48b13a0e1b4d85fc1e7abf97c67ddba
User & Date: bernd 2017-01-02 20:43:33
Context
2017-01-02
20:54
CC share-alike check-in: 6899c03f83 user: bernd tags: trunk
20:43
Template to generate files check-in: 68ee6a1cb4 user: bernd tags: trunk
20:34
Separate source check-in: 20f09ce8ae user: bernd tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Added wiki/template.sh.







































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
IFS='"'
grep '\[.*\](.*)' 33c3.md | sed -e 's/.*\[\(.*\)\](\(.*\)\.md).*/\1"\2/g' | while read TITLE filename; do
echo "Title: $TITLE"
echo "filename: $filename"
cat >template-out.md <<EOF
# $TITLE #

<video width="1280" height="720" controls="controls">
<source src="//net2o.de/33c3/$filename.mp4">
<source src="//net2o.de/33c3/$filename.ogg" type="video/ogg">
<source src="//net2o.de/33c3/$filename.webm" type="video/webm">
Your browser does not support the video tag.
</video>

<!-- embed src="/33c3/doc/trunk/doc/$filename.pdf?view=FitH" width="900" height="675" alt="pdf" pluginspage="http://www.adobe.com/products/acrobat/readstep2.html"></embed -->
EOF
mv template-out.md ${filename}.md
done