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 gkittelson 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. Paulova

    Read receipt request with mailx or similar

    Is it possible? If not, any suggest about how to send mails with html attachments and read recipient request?. Thanks
  2. Paulova

    Joining files from three directories into a single file

    Understood: #!/bin/sh cat directory1/header.txt>final.file find directory2/* directory3/*|sort -r -t"/" -k2|xargs cat >>final.file cat directory1/footer.txt>>final.file Thanks Frederico and olded too.
  3. Paulova

    Joining files from three directories into a single file

    Thanks Frederico for your guide but I dont know how to use find command in this script. Perhaps you have another vision different from mine for this code: #!/bin/sh ls -1 directory2|sort -r>lines.d2 ls -1 directory3|sort -r>lines.d3 cat directory1/header.txt>final.file cat lines.d2|while read...
  4. Paulova

    Joining files from three directories into a single file

    I know its a newbie question, but my bash knowledge is so limited. Any help with this script? Thanks. Trying to join files from three directories into a single file like: <directory1> header.txt footer.txt <directory2> 050421.txt 050420.txt 050419.txt ... <directory3> 050421.txt 050419.txt...
  5. Paulova

    Insert text from one line to another and delete source line

    <h2>Title <h3>Source text1</h3> <h4><a href="http://url">[qwerty]</a></h4> <h3>Source text2</h3> <h4><a href="http://url">[qwerty]</a></h4> <h2>... <h3>... <h4>... <h2>... <h3>... ... Trying to insert "Source text" (always is between <h3></h3> tags in "[qwerty]" (target to replace is always...
  6. Paulova

    Adding html tags

    Perhaps would be better to convert all lines like EXAMPLE LíNE ONE to all caps, i dont mind, and add <h2> at the beginnig and </h2> at the end to all caps lines. Pattern is always like: /[A-Z]á[A-Z]/{gsub(/á/, "A")}; /[A-Z]é[A-Z]/{gsub(/é/, "E")}; ... Can you give me a hand again PH? Thanks
  7. Paulova

    Adding html tags

    n+=($i==toupper($i)) Counts numbers as caps too. Is there another way to do this? Thanks again
  8. Paulova

    Adding html tags

    Adding toupper to line two exactly what i was looking for. Thanks a lot for your quick response.
  9. Paulova

    Adding html tags

    I´m loosing my mind trying to make working an awk script for 1.- Search lines with more than x all-caps words and convert it to all-caps lines adding <h2> at the beginnig and </h2> at the end of that lines 2.- Add <h3> at the beginnig and </h3> at the end to the rest of lines (not the blank...

Part and Inventory Search

Back
Top