Glenn English wrote: > May I suggest just changing the pointer from Dash back to Bash. You > sound like somebody that stays with a release for a while, and this > is would be a lot less work than editing all those scripts.
But trivial to change those scripts. Test it this way: find . -type f -exec grep -lZ '^#!/bin/sh' {} + | xargs -0 sed 's@^#! */bin/sh$@#!/bin/bash@' | less If you like it then fire it for effect with sed's --in-place option. find . -type f -exec grep -lZ '^#!/bin/sh' {} + | xargs -0 sed --in-place 's@^#! */bin/sh$@#!/bin/bash@' Bob
signature.asc
Description: Digital signature