Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    File processing question

    Hi, I have a file in the format:



    I want to print out this file with etc on a new line so I can do something like ./script >>
    and have each domain on a separate line.

    I've tried fiddling with awk, grep and perl to achieve this but my programming skills are lacking and can't seem to do it.

    Can someone help?


  2. #2
     echo "***" | tr --delete "@" | tr "*" "\n" >
    not perfect, but it works

  3. #3
    You're a star! Thank you

  4. $spacer_open

Posting Permissions

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