Since this issue cropped up I figured I might as well take a quick look at the script. There are two other things that might be worth changing after a quick skim:
- Not sure what's up with all the ''[ -n "`which foo`" ]'' idioms. Use ''type'' and just check the exit code. - Instead of escaping in heredocs, you can just use 'EOF' instead of EOF. Chris On 4 February 2013 17:04, Chris Down <ch...@chrisdown.name> wrote: > Use ''.'' instead of ''source'', it's POSIX. > > Chris > > > On 4 February 2013 16:56, Thomas Dean <78...@web.de> wrote: > >> Great tool, thank you! >> >> One thing to mention: sh links to dash in my case, which has no built-in >> "source" command. Is there a standalone substitute? >> >> TD >> >> >> >