Newbies davidmorr Posted June 8, 2001 Newbies Share Posted June 8, 2001 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 More sharing options...
Garry Claridge Posted June 9, 2001 Share Posted June 9, 2001 You can create a calculation field which wraps the concatenated field data with the head and tail for each record. Hope this helps. Garry Link to comment Share on other sites More sharing options...
BobWeaver Posted June 12, 2001 Share Posted June 12, 2001 I believe that unix uses a linefeed character to indicate a new line, where Macs use a carriage return. So, make sure that you are inserting the correct character. Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 8325 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 accountSign in
Already have an account? Sign in here.
Sign In Now