Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: 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