SyntaxFix
Write A Post
Hire A Developer
Questions
In bash:
while read -r line ; do [[ $line == all:* ]] && line+=" anotherthing" echo "$line" done < filename