Find the answer to your Linux question:
Results 1 to 2 of 2
And I could use a little help.. I need to write a short code doing the following: to create a txt file which will contain words from several files (3 ...
  1. #1
    Just Joined!
    Join Date
    Dec 2008
    Posts
    1

    Smile new to BASH :)

    And I could use a little help..
    I need to write a short code doing the following: to create a txt file which will contain words from several files (3 inputs). The things is, I have to limit the words so that only words that start and end with an English letter (both upper and lower case) go into the file. Plus, these words have to be limited by length between 0-10 (not including ends).
    Also, I want to get the words into an array (each word in a separate cell).

    Thanks in advance!

    Jess.

  2. #2
    Linux Engineer wje_lf's Avatar
    Join Date
    Sep 2007
    Location
    Mariposa
    Posts
    1,192
    We're here to help, but for several reasons we're not here to do the work for you.

    Why don't you write a script that gets as close as you can to what you want? If it works, you're done. If it doesn't work and you have a specific question about your script's behavior, post your script (and the content of a few short input files which will help illustrate the problem), along with the actual question.

    If you don't know where to begin with this, scroogle these terms:
    Code:
    bash tutorial
    and these:
    Code:
    grep turorial
    and these:
    Code:
    sed tutorial
    --
    Bill

    Old age and treachery will overcome youth and skill.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...