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 bkrike 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: *

  • Users: jupiler
  • Content: Threads
  • Order by date
  1. jupiler

    reading multiple files

    Hi, I'm used to applying Perl scripts to only one file. What do I need to add to them in order to handle a complete folder in which multiple txt files are stored? Thanks for your help! J
  2. jupiler

    Pattern matching: keywords in contexts

    Hello, I'm trying to retrieve the contexts of each keyword in an array. The problem is that I only get the right output for the last keyword in the array. Example: FILE1: tree apple FILE2: This is a tree. The aPple is green. It looks like a tree. should become: ** <KEYWORD>tree...
  3. jupiler

    Changing file formats

    Hi, How do I quickly change this format: tag tag1 word word1 sentence sentence0.2 into this one: tag tag 1 word word 1 sentence sentence 0.2 Fields are separated by tabs and after each number a newline is printed. Thanks in advance. J
  4. jupiler

    text mark-up

    Hi all, Could s.o. help me in finding a script for the following task: given the two input-files 'list.txt' and 'text.txt', I need to have a script that looks for all the words (listed in the list.txt file) in the text.txt file and places them between §. So, if list.txt is for instance: cat...
  5. jupiler

    problem with arrays

    Hello, While working on the previous script, I encountered a new problem. Given a file (&quot;termlist.txt&quot;) and an inputfile (&quot;textfile.txt&quot; --> one sentence = one line), I need to write a script that states: If a pattern in sentence X of &quot;textfile.txt&quot; matches a term...
  6. jupiler

    Inserting lines in one single file

    Hi, Four files (one for Dutch, one for French, one for Italian and one for English) need to be merged into one single file. Dutch file: <Seg L=NL-BE>Artikel 1 <Seg L=NL-BE>Artikel 2 English file: <Seg L=EN-GB>ART. 1 <Seg L=EN-GB>ART. 2 Italian file: <Seg L=IT-IT>Articolo 1 <Seg...

Part and Inventory Search

Back
Top