<i>win: install: bashism in Makefile.in</i> status still Closed with 5 other changes
by
.
D 2021-11-17T10:40:28.270
J closedate 2459535.94477164
J closer anonymous
J icomment Thanks.\r\n\r\nDo\snote\sthat\sthese\sglobs\scan\sresult\sin\san\serror\sif\sthere\sare\sno\s*.tcl\sfiles\s(or\sno\s*.gz\sfiles),\sas\se.g.\s`*.gz`\s"expands"\sto\s`*.gz`\s(i.e.\sunmodified)\sif\sthere\sare\sno\smatches.\r\n\r\nIn\ssome\sshells,\slike\sbash,\sthe\s`nullglob`\soption\scan\shandle\sit,\sbut\sthat's\snot\sstandardized.\r\n\r\nA\sstandard\sapproach\swould\sbe\sto\scheck\sthat\sthe\sfile\sexists\sbefore\susing\sit,\se.g.\r\n\r\n```\r\nfor\si\sin\spath/to/*.gz;\sdo\r\n\s\s\s\s[\s-e\s"$i"\s]\s||\scontinue\r\n\s\s\s\s#\sdo\ssomething\swith\s$i\r\ndone\r\n```
J login anonymous
J mimetype text/plain
K 46291ba24dc85c0e66ec1771e2f39bc8ab680920
U anonymous
Z 46665e4104c1b68b6c532fc9af7b6197