[an error occurred while processing this directive]

  • Insert a quote at the beginning of each line
    By : Angel Omo ( Mon Sep 8 15:25:20 2003 )

    Hello,

    I'm using Sed on Windows 2000 DOS. Do you have suggestions on how to insert a quote at the beginning of each line and send the output to a text file?

    I've tried the following and got this error. It looks like it inserted the quote but not redirecting it to a file.

    sed "s/^/\"/" exce.res > output.res
    "Field Input Format"
    "Plan\nType"
    "Script\nTransaction\nIdentification"
    "Transaction\nCode for\nPlan Add"
    sed: can't read >: Invalid argument

    Any help is greatly appreciated.

    Thanks!

    Return to article...[an error occurred while processing this directive]