Jari Aalto wrote: > Pádraig Brady <p...@draigbrady.com> writes: > >> Jari Aalto wrote: >> >>> Package: fslint >>> >>> SUGGESTION >>> >>> All the scripts are marked with "/bin/bash", but they in fact seem to >>> be POSIX compatile (dash, but also posh compatible). Please change >>> first lines to: >>> >>> #!/bin/sh >> Nope, I'm trying to make them portable but currently >> there are subtle bash dependencies (which I can't remember >> off the top of my head). I've a TODO at some stage to >> complete the port to POSIX sh. > > According to the tests in Debian environment, where the fslint package > is, they are. > > They also pass Korn shell tests without errors. > > $ for f in *; do [ -d $f ] && continue ; echo $f; mksh -nx $f; done > > findbl > finded > findid > findnl > findns > findrs > findsn > findtf > findu8 > findul > findup > fslint > zipdir > > We do not need to worry in non-POSIX shells in other platforms.
Syntax wise they're POSIX compliant, however they depend on bash behaviour at present. See for example: http://code.google.com/p/fslint/source/detail?r=238 cheers, Pádraig. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org