doc: interpret-trailers: use input redirection

Use input redirection instead of invoking cat(1) on a single file. This is more straightforward, saves a process, and often makes the line shorter. Suggested-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Kristoffer Haugsbakk committed May 1, 2023 at 22:02 UTC b032a2bfe74e46acc451873ee5ebbf7f61b738ce
1 file changed +1 -1
Documentation/git-interpret-trailers.txt
+1 -1
@@ -280,7 +280,7 @@ $ cat msg.txt
280 subject
281
282 message
283 -$ cat msg.txt | git interpret-trailers --trailer 'sign: Alice <alice@example.com>' --trailer 'sign: Bob <bob@example.com>'
283 +$ git interpret-trailers --trailer 'sign: Alice <alice@example.com>' --trailer 'sign: Bob <bob@example.com>' <msg.txt
284 subject
285
286 message