Manipulating a list of keywords

Discussion in 'General Chat' started by mightyb, Aug 13, 2007.

  1. #1
    I have a list of keywords in notepad. One keyword on each line. I need them in one line separated by comas and spaces. What would be the easiest way of doing this?

    Thanks!
     
    mightyb, Aug 13, 2007 IP
  2. Serious

    Serious Peon

    Messages:
    185
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    cat keywords.txt | tr "\n" "," >newfile.txt
     
    Serious, Aug 13, 2007 IP