Nicolas Sebrecht wrote:
The 07/08/09, Nicolas Sebrecht wrote:
quoted
The 06/08/09, Brandon Casey wrote:
quoted
diff --git a/git-am.sh b/git-am.sh
index d64d997..49f2be4 100755
--- a/git-am.sh
+++ b/git-am.sh
<...>
quoted
+ {
+ echo "$l1"
+ echo "$l2"
+ echo "$l3"
+ cat
UUOC, I guess.
quoted
+ } | sed -n -e '/^$/q' -e '/^[ ]/d' -e p "$1" |
^^
Owned by the tabulation, sorry.
Do we still need the "$1"?
Whoops, I missed that "$1" argument to sed. That means the v2 followup
patch is unnecessary since the sed is operating on a file argument
and _not_ stdin. I think it's a little strange like that though...
{
sed "$1"
} < "$1"
-brandon