scripting help with sed

Sort:
You are not authorized to post a reply.
Author
Messages
Greg Moeller
Veteran Member
Posts: 1498
Veteran Member
    Hi, all!!

    I have a sys admin type question.  I'm working with the PR292 final files and have found that we need to do a search/replace in them...  don't get me started, please.

    I'm using the following:
    sed -e 's/some text/other text/g' < final > output.txt

    I'm getting nothing but zero byte files for output.txt does sed have a limitation on line length?  Some of those final files can get upwards of
    30,000 characters on one line.  (That is how IL has to have them.)

    Other ways to do this? 

    Thanks much,
    -Greg
    Brian K
    Advanced Member
    Posts: 20
    Advanced Member
      Greg,

      Does this site help:
      http://www.cims.nyu.edu/c...tml?(sed)Limitations

      It says that certain versions limit line lengths.

      Thanks,
      Brian
      You are not authorized to post a reply.