Fixing long lines in bash