pp -e 'while (<>) { @F=split q(\|); $F[2]=~s{(^ +)}{(my $t=$1)=~tr{ }{_};$t}e; map s{(.*)}{<nowiki>\1</nowiki>}, @F[2,3];print join q(|),@F if !/^-/ }' -o bin/wikiplan
echo 'select * from dual' | xplan
| Id | Operation | Name | Rows | Bytes | Cost (%CPU)| Time |echo 'select * from dual' | xplan | wikiplan | xclip
| 0 | SELECT STATEMENT | | 1 | 2 | 2 (0)| 00:00:01 |
| 1 | TABLE ACCESS FULL| DUAL | 1 | 2 | 2 (0)| 00:00:01 |
paste to tiddlywiki this result with mouse middlekey, and this appeared:
| Id | _Operation | Name | Rows | Bytes | Cost (%CPU) | Time |
| 0 | _SELECT STATEMENT | | 1 | 2 | 2 (0) | 00:00:01 |
| 1 | __TABLE ACCESS FULL | DUAL | 1 | 2 | 2 (0) | 00:00:01 |
没有评论:
发表评论