Sorry....
Edit the perl line to :
perl -p -i -e "s/\'//g" filename.
  -----Original Message-----
  From: vaughnte [mailto:[EMAIL PROTECTED]
  Sent: Monday, January 24, 2005 9:53 AM
  To: [email protected]
  Subject: RE: [EDI-L] Gentran:Server for Unix Question


  Brian,

  To remove single quotes from a file you can use either :
  with perl @ command prompt:
  perl -p -i -e 's/\'//g' filename

  or unix tr:
  tr -d '\047' <filename >newfilename

  Terry E. Vaughn
  VCS222
  phone:  843-841-2222
  Email:  [EMAIL PROTECTED]

    -----Original Message-----
    From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
    Sent: Monday, January 24, 2005 9:27 AM
    To: [email protected]
    Subject: [EDI-L] Gentran:Server for Unix Question



    We are running Gentran:Server for Unix version 6.0.02 and are still
    using the Visual Mapper.

    I am in the process of implementing the INVOIC transaction with a
    customer who requires the Syntax level A which uses ' as the segment
    terminator. Unfortunately, I have numerous ' in my product
    descriptions and am looking for the right way to strip these
    characters from the description in the IDOC prior to translation.
    I've looked through the Sterling Commerce KB and the documentation
    and so far have not found any solution.

    I believe we could write a script in the Unix environment to change
    or remove the characters in the description. I'm looking to confirm
    if this is the right solution and if so, has anyone already done this
    or something similar that could share their script with me.

    Thank you,
    Brian Leist
    Linde Gas LLC





    .
    Please use the following Message Identifiers as your subject prefix:
  <SALES>, <JOBS>, <LIST>, <TECH>, <MISC>, <EVENT>, <OFF-TOPIC>
    Access the list online at:  http://groups.yahoo.com/group/EDI-L




  --------------------------------------------------------------------------
--
  --
    Yahoo! Groups Links

      a.. To visit your group on the web, go to:
      http://groups.yahoo.com/group/EDI-L/

      b.. To unsubscribe from this group, send an email to:
      [EMAIL PROTECTED]

      c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service.



  [Non-text portions of this message have been removed]



  .
  Please use the following Message Identifiers as your subject prefix:
<SALES>, <JOBS>, <LIST>, <TECH>, <MISC>, <EVENT>, <OFF-TOPIC>
  Access the list online at:  http://groups.yahoo.com/group/EDI-L




----------------------------------------------------------------------------
--
  Yahoo! Groups Links

    a.. To visit your group on the web, go to:
    http://groups.yahoo.com/group/EDI-L/

    b.. To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

    c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



[Non-text portions of this message have been removed]



.  
Please use the following Message Identifiers as your subject prefix: <SALES>, 
<JOBS>, <LIST>, <TECH>, <MISC>, <EVENT>, <OFF-TOPIC>
Access the list online at:  http://groups.yahoo.com/group/EDI-L
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/EDI-L/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to