Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Issue with string slices
- X-seq: zsh-workers 44420
- From: joão marcos pereira bezerra <marcospb19@xxxxxxxxxxx>
- To: Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx>, Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- Subject: Re: Issue with string slices
- Date: Mon, 17 Jun 2019 16:15:32 +0000
- Accept-language: pt-BR, en-US
- Cc: Zsh hackers list <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jEEwEqFJUiL5zNwlZYJGt0TZvEL1Xk5xTg+BJV56stM=; b=HNfWfcA38sGdWQOncXZGMoGwy4NZaISWLgFvLYR1h2VRZADo7xdYxGGVLOLz4/h+c7VMWi9DfchARoNysD/o4SCeFc/jc1L1PMZJ8qiTiX2aOSIwJC46cNZl87rQwJuTZyb0o9wu3HlQ+Ctnp84VyOZSqvSD66FDwRjOmz53gMFsWOUq48W7yQkz0rsynhC+9/Ur7MCBMpPly59t2ATozDBWH38DsrCsr0R5eU1CPUW6k0LBXWyGg3nBSJF+AYEwFbml6jPbCy+9dB014ZDWEpYqaYCBnKTUyGDWwDn3LQrmOHoAMO51UO6RwOaCrcewpjVviv7iC/Rlnzz2/6x6nw==
- In-reply-to: <CAN=4vMraKuGp0=Rs839sD+BdGhpo6kmpoeL9+kRy4_gOJ53-wA@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CGME20190617083759epcas1p11383850c11184f54e3a0b822c9ea12e6@epcas1p1.samsung.com> <RO1P152MB0841421B113C0DFAFF91832AD4EB0@RO1P152MB0841.LAMP152.PROD.OUTLOOK.COM> <1560761469.6175.1.camel@samsung.com>,<CAN=4vMraKuGp0=Rs839sD+BdGhpo6kmpoeL9+kRy4_gOJ53-wA@mail.gmail.com>
- Thread-index: AQHVJOctA4YdyJJj3EWmYYnou426Xaafic6AgAAEBQCAAHfysg==
- Thread-topic: Issue with string slices
Thanks guys, i was unsure if i should report this issue
Get Outlook for Android<https://aka.ms/ghei36>
________________________________
From: Roman Perepelitsa <roman.perepelitsa@xxxxxxxxx>
Sent: Monday, June 17, 2019 6:05:32 AM
To: Peter Stephenson
Cc: Zsh hackers list; joão marcos pereira bezerra
Subject: Re: Issue with string slices
To print $something as is, use one of these forms:
echo -nE - "$something"
print -nr -- "$something"
printf '%s' "$something"
The first two are ZSH specific, the last is portable. ZSH also allows
you to omit quotes here unless SH_WORD_SPLIT option is set.
Roman.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author