![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community. |
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| convert pdf's to word | gefa | Windows & DOS: Issues & Discussions | 3 | 02-10-2009 04:44 AM |
| read a line from a csv file and convert a column to all caps | orahi001 | UNIX for Dummies Questions & Answers | 3 | 12-31-2007 06:05 PM |
| convert special character like £ | cynnie | Shell Programming and Scripting | 1 | 08-08-2007 06:37 AM |
| Change Position of word character | cedrichiu | Shell Programming and Scripting | 6 | 03-12-2007 01:52 AM |
| Grep for X character on a word | jjoves | UNIX for Dummies Questions & Answers | 5 | 08-06-2004 05:14 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Hi Gurus!!
Is it possible to change a letter in a word to CAPS?? When correcting a paragraph i need to covert the word if it appears at the start of a line to caps....... if i had a phrase like my name is james and would like to sign up. how do i convert "my" to "My" or the Essex batsman and former hamp captain, has been named as assistant is it possible to convert "the" to "The" |
|
||||
|
Thanks did some reading but....
i have the word as "my" but failing to specify and check if its at the begining of line and to select just the first character my name is james and would like to sign up.............. tr "m" "M" < filesource this is when you know the first letter how do i specify if i dont know the first character? i have also tried something of this sort echo $word | sed -e 's/\(.\)\(.*\)/\[:upper:]\1\(.\)/I' but to no avail |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|