On 2/16/07, Lucas C. Villa Real <lucasvr at gobolinux.org> wrote: > for i in `find . -type f`; do cat $i | sed 's,^#!/bin/sh,#!/bin/bash' > > x && mv x $i; done Forgot escapes (\): for i in `find . -type f`; do cat $i | sed 's,^#\!/bin/sh,#\!/bin/bash' > x && mv x $i; done -- Lucas powered by /dev/dsp