|
From: | Hans Ginzel |
Subject: | Re: echo redirect additional new line |
Date: | Thu, 23 Jul 2015 17:07:53 +0200 |
User-agent: | Mutt/1.5.21 (2010-09-15) |
On Thu, Jul 23, 2015 at 11:01:46AM -0400, Greg Wooledge wrote:
echo 2>"c\nd"Did you intend to write the number "2" to a file, or did you intend to redirect stderr? ... The space after the 2 is extremely significant, and $'...' is how you create strings (filenames, etc.) with control characters in them.
Oh, I am sorry. Thank you for the explanation. Best regards, Hans
[Prev in Thread] | Current Thread | [Next in Thread] |