Fix empty string
Fix pipe
Fix IO redirection
Remove unused function