[Github-comments] [geany/geany] build system: Don't use `seq` that is not available on OpenBSD (#2060)

johndescs notifications at xxxxx
Mon Mar 4 18:43:52 UTC 2019


Looking at this: https://stackoverflow.com/questions/5349718/how-can-i-repeat-a-character-in-bash
Another simpler candidate is:
`printf '%*s' 100 | tr ' ' '-'`
There is a pipe, ok, but still much fewer calls to external commands. :)
printf is already used all around, and tr seems available on OpenBSD.
Runs even in (t)csh! (this is of no use since the rest of the script won't)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/2060#issuecomment-469370771
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20190304/1dfa7f92/attachment-0001.html>


More information about the Github-comments mailing list