任务单 #37113

Consider importing bashism/kshism/zshism

开放日期: 2017-04-08 13:54 最后更新: 2019-01-21 00:04

报告人:
属主:
状态:
开启 [Owner assigned]
组件:
里程碑:
(无)
优先:
3
严重性:
5 - Medium
处理结果:
文件:
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?

任务单历史 (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
评论

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
  • 优先 Update from 5 - Medium to 3

Attachment File List

No attachments

编辑

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