Subversion Repositories planix.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
#!/bin/rc
2
 
3
switch($#*){
4
case 0
5
	exit
6
case 1
7
	switch($1){
8
	case *.rtf
9
		pub/rtf2text $1 >[2]/dev/null | plumb -i -d edit -a 'action=showdata filename='$1
10
	case *.doc *
11
		doc2txt $1 | plumb -i -d edit -a 'action=showdata filename='$1
12
	}
13
	exit
14
case *
15
	for(i in *)
16
		wdoc2txt $i
17
}