Multiple choice technology programming languages To delete all the trailing spaces of each line of file test1 sed 's/[ ][^ ]*$//' test2 sed 's/[ ][ ]*$//' test2 sed 's/[ ][ ]*$/' test2 sed 's/[ ][ $]*$//' test2 Reveal answer Fill a bubble to check yourself A Correct answer