Correct. That does work. But what if it could be either start or Start. In what you have, what would you have to change for either of those cases?
Wags ;) WagsWorld Hebrews 4:15 Ph(primary) : 408-914-1341 Ph(secondary): 408-761-7391 On Jan 7, 2022, 15:39 -0800, [email protected], wrote: > > #!/usr/bin/env perl > > my $incr = 1; > local $/ = "#Start#\n"; > > while (<>) { > s/^1/$incr++/es; > print; > } -- This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "[email protected]" rather than posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit> --- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/c6413eac-2d31-4c13-88a5-bc500fdc80a1%40Spark.
