/[socialtext-import]/kwiki/w.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /kwiki/w.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (hide annotations)
Sun Nov 19 14:57:40 2006 UTC (17 years, 5 months ago) by dpavlin
File MIME type: application/x-sh
File size: 220 byte(s)
Import initial versions convertors from kwiki (much more complete)
and phpwiki (just tiny subset which one of my wikis used) to
socialtext

1 dpavlin 1 #!/bin/sh
2    
3     file=$1
4    
5     if [ -z "$file" -o ! -f "$file" ] ; then
6     echo "Usage: $0 st/SomePage"
7     exit
8     fi
9    
10     iconv -f utf-8 -t iso-8859-2 $file > ${file}.wiki
11     vi ${file}.wiki && iconv -f iso-8859-2 -t utf-8 ${file}.wiki > $file

Properties

Name Value
svn:executable

  ViewVC Help
Powered by ViewVC 1.1.26