Or even,

for i in * ; do tr '[a-z]' '[A-Z]' < $i > /tmp/tmp$$ ; cat /tmp/tmp$$ > $i ; done ; rm 
-f /tmp/tmp$$

BTW, Yogesh, spelling properly wouldn't harm you and may help in
increasing the respect with which the list members view you and your
writings.  Guess why I replied to Shridhar's post and not yours?  For
some reason my mind automatically puts a post which contains words
like ``ur'', ``2'', ``r'' and ``u'' into the ``immature trash''
basket.

-- Raju

>>>>> "Shridhar" == Shridhar Daithankar <[EMAIL PROTECTED]> writes:

    Shridhar> $ cat yourfile |tr <some options> > tempfile;mv tempfile
    Shridhar> yourfile

    Shridhar> Check for sytax. This is only to give you an idea. sed
    Shridhar> may be a good thing too..

    Shridhar>  Shridhar

    Shridhar> On 13 Dec 2001 at 9:33, Yogesh Dhond wrote:
    >> My problem is to convert all the contents of files from lower
    >> case to upper case and save it in same file.  i was able to
    >> display the file contents in uppercase format but was not able
    >> 2 save in same file
    >> 
    >> i didnt try ur script...as i wanted only the command
    >> 
    >> last regd the jargon..thiz r upcoming ...& u shud provide a
    >> path for them ;-)
    >> 
    >> yogi

-- 
Raju Mathur          [EMAIL PROTECTED]           http://kandalaya.org/
                     It is the mind that moves

_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to