Parent Directory | Revision Log
edit selection in vi and leave result in clipboard
1 | dpavlin | 145 | #!/bin/sh |
2 | |||
3 | ext=$1 | ||
4 | test -z "$ext" && ext=txt | ||
5 | |||
6 | xclip -out > /tmp/$$.txt && vi /tmp/$$.$ext && xclip -in -selection clipboard < /tmp/$$.$ext |
Name | Value |
---|---|
svn:executable | * |
ViewVC Help | |
Powered by ViewVC 1.1.26 |