Results 1 to 4 of 4
So I have this sed command that will replace " l " with " I " and fix many other l and I mistakes. I have this script running through ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-11-2013 #1
SED help with ^ first character in line.
6 00:01:28,172 --> 00:01:30,506 l vant to kiss your tush.
sed 's/ l / I /g' $i.b > $i.a
- 01-11-2013 #2
There is a way to match word beginnings without having to put a space in front. I suggest you have a look at this tutorial which has a section on matching words as well as a lot of other useful tips."I'm just a little old lady; don't try to dazzle me with jargon!"
- 01-11-2013 #3
Thanks hazel, It looks like I would want to use something like
"\<l\>" "\<I\>" but how would I use that in a sed command? Or should I use a tr command?
- 01-12-2013 #4
If it doesn't work, there are other ways. I would use " l|^l" to specify that l must occur either after a space or at the beginning of a line."I'm just a little old lady; don't try to dazzle me with jargon!"