Ticket #39280

""$@ should expand to an empty string rather than nothing

Date d'ouverture: 2019-06-01 22:46 Dernière mise à jour: 2019-06-06 00:44

Rapporteur:
Propriétaire:
Type:
État:
Atteints
Composant:
Jalon:
(Aucun)
Priorité:
5 - moyen
Sévérité:
5 - moyen
Résolution:
Fixed
Fichier:
Aucun
Vote
Score: 0
No votes
0.0% (0/0)
0.0% (0/0)

Détails

set --
for i in ""$@
do
  echo "z${i}z"
done

This should print zz.

Ticket History (3/3 Histories)

2019-06-01 22:46 Updated by: magicant
  • New Ticket """$@ should expand to an empty string rather than nothing" created
2019-06-01 23:07 Updated by: magicant
Commentaire
(This comment has been deleted)
2019-06-06 00:44 Updated by: magicant
  • Résolution Update from Aucun to Fixed
  • État Update from Ouvert to Atteints
Commentaire

Fixed in r3992

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