|
From: | Antonio Diaz Diaz |
Subject: | Re: [Bug-ed] Trailing spaces in filenames |
Date: | Mon, 15 Dec 2014 19:33:59 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905 |
Gabriel Farrell wrote:
Well, ed currently ignores leading spaces. And vi and ex both ignore leading and trailing.
Ed does not ignore leading spaces. You only need to escape them: $ echo "Hello, world" > " a.txt" $ ed -v e \ a.txt 13 ,p Hello, world f a.txt q $ Best regards, Antonio.
[Prev in Thread] | Current Thread | [Next in Thread] |