Several places where dash behaves differently than bash: * read in dash has to have a variable. * use command -v as type is not POSIX Signed-off-by: Tzafrir Cohen <tzafrir@debian.org> Signed-off-by: Anjandev Momi <anjan@momi.ca>