16.) To delete all the trailing spaces of each line of file test1

  1. a) sed 's/[ ][^ ]*$//' test2

  2. b) sed 's/[ ][ ]*$//' test2

  3. c) sed 's/[ ][ ]*$/' test2

  4. d) sed 's/[ ][ $]*$//' test2


Correct Option: A

Find more quizzes: