Help on a little script

From: antenneX (antennex_at_swbell.net)
Date: 01/23/05

  • Next message: Michael C. Shultz: "Re: KDE issues after recent portupgrade"
    To: <freebsd-questions@freebsd.org>
    Date: Sun, 23 Jan 2005 10:30:56 -0600
    
    

    Am running FBSD-4.10p2

    I have a serious need for some help on a CGI script I just installed.
    I've tried to reach the author but no dice there.

    It's used to automate "unsubscribes" on a mail list.

    It works well except for this:
    It changes my mail list from this format:
    name1
    name2
    name3

    ...to this:
    name1name2name3 <---one big long line with no separators.

    With over 6000 names it makes a huge long line instead with no space
    between
    the names either. It make a mess!

    I know how to convert
    name1
    name2
    name3

    ...to
    name1 name2 name3.....

    like this:
    #cat mybadlist | xargs > mygoodlist

    ...but, need the reverse.

    So how can I convert
    name1name2name3
    ...back to the original format?
    name1
    name2
    name3

    Would really appreciate your help as it is really messing up my mail
    lists....

    Thanks in advance!

    Best regards,

    Jack L. Stone

    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Michael C. Shultz: "Re: KDE issues after recent portupgrade"

    Relevant Pages

    • Re: Making Row to Columns
      ... CREATE TABLE SomeTable (id INTEGER PRIMARY KEY, ... MINAS name1, ... MINAS name2, ... MINAS name3 ...
      (microsoft.public.sqlserver.programming)
    • Re: why is it
      ... Replace name1,name2, name3 with usenet troll names ... Now set the view so that you don't view ignored posts. ...
      (alt.games.video.xbox)
    • How to get CStdioFile::GetPostition
      ... Name3 ... What happens is that because I am selecting "Name1" the output is ... If I chose "Name2" the output would have been: ... and so GetPosition() always moves to the benning of a newline. ...
      (microsoft.public.vc.mfc)
    • Array...

      (microsoft.public.excel.worksheet.functions)
    • Re: Help for copying a file
      ... the optional Overwrite parameter by specifying True or False as you ... Specifying name1 is redundant. ... Try changing your f.copy name1, name2, false line to f.copy name2, ...
      (microsoft.public.scripting.vbscript)