On Feb 6, 2008 11:13 AM, Junio C Hamano [off-list ref] wrote:
"Lars Hjemli" [off-list ref] writes:
quoted
On Feb 6, 2008 9:40 AM, Junio C Hamano [off-list ref] wrote:
quoted
Lars Hjemli [off-list ref] writes:
quoted
+objpath() {
+ echo $1 | sed -re 's|(..)(.+)|\1/\2|'
+}
"sed -r"??? Please limit ourselves to the basics.
Sorry, I didn't realize 'sed -r' wasn't kosher. Should I resend or is
this something you'd --amend?
If we live in POSIX only world it is fine, but I try to be
conservative when I am able.
Ok, good to know that my lack of experience doesn't pollute the codebase ;-)
No need to resend; I've done something like this (there are
other minor amends).
...
+objpath() {
+ echo "$1" | sed -e 's|\(..\)|\1/|'
+}
Thanks.
--
larsh