8 lines
184 B
Plaintext
8 lines
184 B
Plaintext
|
#!/bin/sh
|
||
|
# plantuml from xclip selection clipboard
|
||
|
file="/tmp/plantuml-xclip-$(date +%s).plantuml"
|
||
|
echo "@startuml" >$file
|
||
|
xclip -o >>$file
|
||
|
echo -e "\n@enduml" >>$file
|
||
|
plantuml $file
|