3 ms·
I would write a C program to do it before I would go and manually select/replace every instance using a mouse.
by jandrese 9y ago
I would write a C program to do it before I would go and manually select/replace every instance using a mouse.
- setq 9y agoDepends if I'm being paid by the hour or the job :)
- bluGill 9y agoI assume you would call it sed?
- jandrese 9y agoI was trying to illustrate how far down the list I would go before resorting to manually selecting each character with a mouse. Sed is much higher on the list. That's a little unfair. If I was only changing one or two characters then the mouse is fine. If I'm changing more than about 10-20 there will be a hunt for an alternative.
- deleted 9y ago[deleted]
- tcfunk 9y agoBut what if, in the midst of writing this program, you need to rename all occurrences of a variable?
- deleted 9y ago[deleted]