Hey Chris! I'm defining lines as anything with a number infant of it. I'm new to this editor, and use it to edit transcripts, so my jargon will probably be incorrect.
I'm going to try Fletcher's suggestion on my next project. Thanks for your input, and for guiding me to the right place in the manual! On Thursday, October 28, 2021 at 9:42:22 PM UTC-5 [email protected] wrote: > On Oct 28, 2021, at 17:10, Nosadge <[email protected]> wrote: > > > Does anyone know a command/script/grep to make sure the first letter of > every line is capitalized? > > ------------------------------ > > Hey There, > > How are you defining lines? > > Line one. > Line two. > ... > > In that case Fletcher's regex works fine, although you might prefer to run > it from a script. > > ------------------------------ > > #!/usr/bin/env perl -sw > > while (<>) { > s!^.!\U$&!; > print; > } > > ------------------------------ > > See the section on Text Filters in the BBEdit Manual, if you don't know > how to run one. > > ~/Library/Application Support/BBEdit/Text Filters/ > > ------------------------------ > > Or did you mean sentences? > > > -- > Best Regards, > Chris > > -- 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/4e0d2105-2ed1-4ee0-841e-15d62b85378en%40googlegroups.com.
