There is a form of regular expression that is recognized by someQuote:>Hi there,
>I'm have a short problem as follows.I have a file containing 4 columns, the
>first column conatining 5 letter strings in lower case and the remaining 3
>columns containing floating numbers. I want to convert all the strings in the
>first column from lower case to upper case. I know I could write a short C
>program to do this but is there a simpler way ie. using awk,tr,sed,etc? I'm
>very vaguely familiar with these tools but don't really know how to use them.
>Maybe somebody can give me the approximate command sequence.
programs. This is, it works on my vi or ex but not my sed, maybe yours.
The command is :%s/.* /\U&/
which means, take any chars up to a space as the find string
the \U says to upcase the next replacement string
the & is the string found