Tuesday, January 9, 2007

BBEdit 8.6

My favorite changes in BBEdit 8.6 are transparent reading and writing of binary property lists, support for the Emacs “mode:” variable, and Convert to ASCII now doing something sensible with the Euro symbol.

1 Comment RSS · Twitter

Simple shell function to edit binary plists...

pledit() {
PLIST=$@
TEMP=$(mktemp -t pl)
cp ${PLIST} ${PLIST}.$(date +%Y%m%d-%T)
plutil -convert xml1 -o ${TEMP} ${PLIST}
${EDITOR:-vim} ${TEMP}
plutil -convert binary1 -o ${PLIST} ${TEMP}
}

Leave a Comment