Messages in this thread | | | Date | Tue, 7 Sep 2004 14:23:38 -0700 | From | Andrew Morton <> | Subject | Re: [uml-devel] Re: [patch 1/3] uml-ubd-no-empty-queue |
| |
BlaisorBlade <blaisorblade_spam@yahoo.it> wrote: > > On Monday 06 September 2004 23:26, Andrew Morton wrote: > > Please don't use a filename like uml-ubd-no-empty-queue as the Subject: > > of your patches. Please prepare an English-language summary. See > > http://www.zip.com.au/~akpm/linux/patches/stuff/tpp.txt > Ok, but how can I specify the filename you'll give to the patch? > > It would make management between my tree and yours easier for me, if possible.
hm. By choosing a suitable Subject:, I guess.
Start the Subject with "uml:" and then avoid getting fancy in the rest of the subject and things should work out OK. Spaces and other funny characters are replaced with "-" and underscores are retained.
I use the below piece of ad-hoc revoltium to canonicalise Subject:s into filenames:
line=$(echo "$line" | tr 'A-Z' 'a-z') line=$(echo "$line" | sed -e 's/^subject:[ ]*//') line=$(echo "$line" | sed -e 's/^fw:[ ]*//') line=$(echo "$line" | sed -e 's/^fwd:[ ]*//') line=$(echo "$line" | sed -e 's/^aw:[ ]*//') line=$(echo "$line" | sed -e 's/^re:[ ]*//')
line=$(echo "$line" | sed -e 's/^patch//') line=$(echo "$line" | sed -e "s/['\(\)\<\>\{\}\,\.\\]//g") line=$(echo "$line" | sed -e "s/[\#\*\&\+\^\!\~\`\:\?\;]//g") line=$(echo "$line" | sed -e "s/[\$]//g") line=$(echo "$line" | sed -e 's/"//g') line=$(echo "$line" | sed -e 's/^[-]*//g') line=$(echo "$line" | sed -e 's/\[[^]]*\]//g') line=$(echo "$line" | sed -e 's/[ ]*\[patch\][ ]*//') line=$(echo "$line" | sed -e 's/\[//g') line=$(echo "$line" | sed -e 's/\]//g') line=$(echo "$line" | sed -e 's/^[ ]*//') line=$(echo "$line" | sed -e 's/ -/-/g') line=$(echo "$line" | sed -e 's/- /-/g') line=$(echo "$line" | sed -e 's/[ ][ ]*/-/g') line=$(echo "$line" | sed -e 's,/,-,g') line=$(echo "$line" | sed -e 's/--/-/g') line=$(echo "$line" | sed -e 's/-$//g') line=$(echo "$line" | sed -e 's/^-//g')
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |