Thread (21 messages) flat view 21 messages, 6 authors, 2016-06-15

Re: [PATCH v2] Re: mailinfo: allow individual e-mail files as input

From: Brandon Casey <hidden>
Date: 2016-06-15 22:47:11

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help