Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Read file with escaped newlines into array
- X-seq: zsh-users 20966
- From: Sebastian Gniazdowski <sgniazdowski@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Read file with escaped newlines into array
- Date: Thu, 19 Nov 2015 18:34:42 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=xrZUrPkAhw8xpBswrBDvx8f5aRqaPc5wvYDf3UqYC1o=; b=Q8smz3fi8Oc2UB5nvw03rAh+aqYSqrkGzmgBriLoSEGVZgzg/HmoUv/9sxpjLakLqr 9dYqb9M5gROWNLMpnQMAobt+x8163Qxe0rUamdKlj8X+tFtVk9izVhZJCUS8jh9png3B ZVTVrNmYV02HE5hM1560MjbVnMnetcyNR1TRxL8BeYYl+2ryU1/ciATZXJfKbmdBWDNB 36nU8YMQzbtmDylUqctdeSCaWRuFGiKkXHVKsJsTx8mIVwuOOQ7PUrM6ZlNoz+hG+QVf ETyH9clUxOJQHnUeN8zcMLpUYljXKQZvoClL06SMWoA8zRy4DQxfTOtFFKw3tO3D0xQy 8hyw==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
Hello
fc -W stores history to a given file. It escapes newlines with \. How
to read such file into array and have "\^M" lines put back together
into single array entries?
Best regards,
Sebastian Gniazdowski
Messages sorted by:
Reverse Date,
Date,
Thread,
Author