Shell scripts focusing on portability across platforms and legacy systems