repo.or.cz
/
claws.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2007-01-17 [paul] 2.7.1cvs15
[claws.git]
/
tools
/
uuooffice
blob
233a0afa3146fd298d9c1a4e4e08b28dd5c1b73b
1
#!/bin/sh
2
3
FILENAME
=
$
(
grep
-Em
1
"^begin [0-7][0-7][0-7] ."
"
$1
"
| cut
-d
' '
-f
3
-)
4
TMPFILE
=/
tmp
/
${0##*/}
_
$FILENAME
5
uudecode
-o
-
"
$1
"
>
"
$TMPFILE
"
6
ooffice
"
$TMPFILE
"
7
rm
-f
"
$TMPFILE
"