…for a pattern fails, the map terminates. I would like the map to continue processing the next command, even if the substitute command fails. How do I do this?

You can use the ‘e’ flag to the substitute command to continue processing other commands in a map, when a pattern is not found.

Read free Software Algorithms and Computer Science Books by CodeAhoy Learn.

Introduction to Recursion and Backtracking

Sorting Algorithms

Introduction to C Programming Language

And More...

Speak Your Mind