bash redirection question

Kenneth Brody kenbrody at spamcop.net
Wed Sep 2 10:54:34 PDT 2015


On 9/2/2015 1:33 PM, tob at b-e-s-t.com wrote:
>
> The lines had an end of line character \n but not an explicit <ENTER>
> I put all the keystrokes on one line and that did it.
> 6menuJJ^M^[^[^[^[NYX

Are you sure the issue was the NL rather than CR (which filePro will treat 
the same, unless you have a weird terminal where the down-arrow sends NL, 
like some ancient terminals did), but rather the fact that you had *extra* 
newlines, which you have now eliminated?

>
> -----Original Message-----
> From: "Kenneth Brody" <kenbrody at spamcop.net>
> Sent: Wednesday, September 2, 2015 1:23pm
> To: tob at b-e-s-t.com
> Subject: Re: bash redirection question
>
>
>
> On 9/2/2015 1:09 PM, tob at b-e-s-t.com wrote:
>>
>> Ken,
>> That's exactly what I needed;inserted <ENTER> after the menu name-menuJJ
>
> But the file you showed already had an Enter there, as well as after the
> "6", the "N", and the "Y".
>
> [...]
>>> cat keys
>>> 6
>>> menuJJ
>>> <ESC><ESC><ESC>ESC>N
>>> Y
>>> X
>> [...]
>>
>> If you were entering the keystrokes manually, would you have pressed Enter
>> after the "6"? (And if you had, what would have happened?)
>>
>> Ditto for the "N" and "Y".
>

-- 
Kenneth Brody


More information about the Filepro-list mailing list