Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. flavioweb

    set text to lowercase...

    awk -F ';' -vOFS=';' '$2 && substr($0,1,1)!=";"{$2=tolower($2)}1' /input/file This one worked as well. Thanks a lot !
  2. flavioweb

    set text to lowercase...

    thanks. i can test it later... just one thing, because i want to be sure, if there is a text after ; as first line char, this text is converted to lowercase? because i need to avoid this. just convert if ; isn't first line char. thanks again :)
  3. flavioweb

    set text to lowercase...

    ...but in one line after a ; and if ; is not first line char. for example: LDA COLORS ; DO A COLOR how to set "DO A COLOR" to lowercase?
  4. flavioweb

    Find and replace with incremental value.

    I've tested all your 2 solutions, and seem both works for my purpose. test code used: L_BRS_($4593)_($455E) nop nop nop nop bne L_BRS_($4593)_($455E) nop nop nop beq L_BRS_($4593)_($455E) nop nop nop bcc L_BRS_($4593)_($455E) bcc L_BRS_($4594)_($455F) nop nop bcs L_BRS_($4594)_($455F) nop...
  5. flavioweb

    Find and replace with incremental value.

    Wow ! I need to check a little bit the output, but your code seems work like a charm! Can you explain me how this -line- of code work? Tnx a lot !!!
  6. flavioweb

    Find and replace with incremental value.

    Ok. Sorry for the missed tags... However, i understand the concept of your modify, and it fit perfectly with the few lines i posted here. But i need to use it on a more complicated scenario. Precisely, somethings like: ;---------------------------------- L_BRS_($0FF7)_($0FE8) OK...
  7. flavioweb

    Find and replace with incremental value.

    Suppose i have this code --- bcc L_BRS_($4593)_($455E) nop nop nop L_BRS_($4593)_($455E) bcc L_BRS_($4594)_($455F) nop nop nop L_BRS_($4594)_($455F) --- I want to replace "L_BRS_($4593)_($455E)" with "lbrs001" (bot in single line and where line start with "bcc") and same with other...

Part and Inventory Search

Back
Top