Ticket #37113

Consider importing bashism/kshism/zshism

Date d'ouverture: 2017-04-08 13:54 Dernière mise à jour: 2019-01-21 00:04

Rapporteur:
Propriétaire:
État:
Ouvert [Owner assigned]
Composant:
Jalon:
(Aucun)
Priorité:
3
Sévérité:
5 - moyen
Résolution:
Aucun
Fichier:
Aucun
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Détails

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?

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
Commentaire

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
  • Priorité Update from 5 - moyen to 3

Attachment File List

No attachments

Modifier

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