Jump to content

Exporting records containing newlines


davidmorr
 Share

This topic is 7436 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

Hi

I need to be able to export records on multiple lines. For example, I want to create a Unix shell script which requires multiple lines:

/web1/fred -pr <<EOD

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

EOD

The field in the database is the row of xxxxxxxxxxxxxxxxxxxxx, but it needs the command above and the terminator (EOD) below to work.

As far as I can see, exporting can only create one line per record. (I did try explicitly inserting newline characters in the record, but it did not work properly.)

So, I would appreciate any suggestions as to how to do this.

Thanks

David

Link to comment
Share on other sites

This topic is 7436 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.