Hi, I made this script for my own use. It automatically reads the latest entry in ChangeLog and uses it as log to make a commit.
Carles said he wanted a copy, but I figured it could be useful to others, so here you are. -- Robert Millan "Be the change you want to see in the world" -- Gandhi
#!/bin/bash -e tmp=$(mktemp) trap "rm -f ${tmp}" EXIT st=0 while read -r line ; do case "${line}" in 2*) if [ "${st}" = 0 ] ; then st=1 else break fi ;; *) echo -en "\t" ;; esac echo "${line}" done < ChangeLog > ${tmp} cat ${tmp} bzr st $@ echo -e "\nPress enter to proceed" read bzr ci --file=${tmp} $@ exit 0
_______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel