Ticket #37113

Consider importing bashism/kshism/zshism

Open Date: 2017-04-08 13:54 Last Update: 2019-01-21 00:04

Reporter:
Owner:
Status:
Open [Owner assigned]
Component:
MileStone:
(None)
Priority:
3
Severity:
5 - Medium
Resolution:
None
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Details

Maybe some of them are useful in yash, too.

  • $'...'
  • extended pipes and redirections |& (bash, zsh, csh, tcsh)
  • co-processes |& (ksh, mksh)
  • case conversion ${foo^bar}, ${foo,bar}, ${foo~bar}
  • others?

Attachment File List

No attachments

Ticket History (3/5 Histories)

2017-04-08 13:54 Updated by: magicant
  • New Ticket "Consider importing bashism/kshism/zshism" created
2017-06-09 22:15 Updated by: magicant
  • Details Updated
2017-11-18 18:25 Updated by: magicant
  • Details Updated
2019-01-10 04:51 Updated by: mcdutchie
Comment

You asked for others so here is an idea. I think having ksh-compatible arrays would be useful. It is not uncommon to write semi-portable scripts that work on bash, *ksh and zsh's sh/ksh emulation, and use simple ksh-style indexed arrays. zsh has a 'ksharrays' shell option, you could implement one by the same name that would allow yash to run these scripts.

2019-01-21 00:04 Updated by: magicant
  • Priority Update from 5 - Medium to 3

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login