Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


vim? | 15 comments | Create New Account
Click here to return to the 'vim?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
vim?
Authored by: Brock Lee on Jun 13, '05 10:40:56AM

Well how about a shell script like this:

#!/bin/sh

if [ $# -ne 1 ] ;then
    echo Usage: $0 file.plist
    exit 1
fi

temp=/tmp/$0.$$
plutil -convert xml1 $1 > $temp
vim $temp
plutil -convert binary1 $temp > $1
rm -f $temp
Please note that I have not tested this.

[ Reply to This | # ]