tag:blogger.com,1999:blog-3939164541028317159.post8209643759318140061..comments2023-05-25T09:20:09.110-06:00Comments on Raphael's blog: A bashism a week: brace expansionUnknownnoreply@blogger.comBlogger2125tag:blogger.com,1999:blog-3939164541028317159.post-29409611094544470412013-01-16T18:10:52.484-06:002013-01-16T18:10:52.484-06:00Right, on the BSDs there is usually no "seq&q...Right, on the BSDs there is usually no "seq" command. FreeBSD 9.0 does provide one, however.<br />Raphael Geisserthttps://www.blogger.com/profile/13007419250201863744noreply@blogger.comtag:blogger.com,1999:blog-3939164541028317159.post-54835192726311659832013-01-09T04:51:08.096-06:002013-01-09T04:51:08.096-06:00It must be noted that seq is a GNU utility. On the...It must be noted that seq is a GNU utility. On the BSDs, the https://www.mirbsd.org/man1/jot utility serves similar purposes, although the syntax differs and the functionalities do not overlap 100%.<br /><br />mksh of course handles brace expansion, but it’s a run-time option, and it’s actually turned *off* if invoked as /bin/sh (on Debian) for improved compatibility: I’ve seen #!/bin/sh scripts that *break* if brace expansion is available; most visible example is NetBSD®’s top-level build.sh script.<br /><br />//mirabilos, who hopes to be able to drop printf soon…Anonymousnoreply@blogger.com