extra line when writing to a file.

Hi all

When I try to write to a file from unix, I get an extra line. Could you please tell me how to remove this extra line?

Dummy1 = "DUMMY_TEST."
Dummy2 = "CUSTOM".
file = "Request_Group.txt"
= False
until the $DONE. do
read online | = True
echo $line
RG_NAME = "(écho $line |)" (cut-f1-d ','')'»
echo $RG_NAME
RG_APPL_NAME = "(écho $line |)" (cut-f2-d ','')'»
echo $RG_APPL_NAME

echo "exec apps.fnd_program.add_to_group($Dummy1,$Dummy2,$RG_NAME,$RG_APPL_NAME)" > > att3.txt
echo "/" > > att3.txt
chmod 777 att3.txt
fact < "$file".

But by the files of output is as below,

exec apps.fnd_program.add_to_group (DUMMY_TEST, CUSTOM, DUMMY_REQ1, CUSTOM

)

/

exec apps.fnd_program.add_to_group (DUMMY_TEST, CUSTOM, DUMMY_REQ3, accounts payable

)

/

apps.fnd_program.add_to_group (DUMMY_TEST, CUSTOM, DUMMY_REQ4, claims exec

)

/

exec apps.fnd_program.add_to_group (DUMMY_TEST, DUMMY_REQ2, CUSTOM, CUSTOM)

/

If you see only last line was printed correctly... rest the extra line was added...

Any solution to this?

There is no code included Oracle in it and so far, I know there is no space for unix in this fourms, its best to raise this issue in the form of Unix.

A possible solution to your problem is with your text editor, this is the word wrapping mode.

Try to see this file in other editors by turning off Word wrapping mode

Tags: Database

Similar Questions

  • Age of Mythology of installation met a disk error when writing in the file C:\Users\(my name)\Desktop\aom\textures\textures.bar

    Age of Mythology of installation met a disk error when writing in the file C:\Users\(my name)\Desktop\aom\textures\textures.bar. Make sure that your hard disk is not full, and that the file is not in use

    Original title: AOM moved only to 94%

    When I install Age of mythology, I have put on disc 1, do all the stuff, he moved to 45%, and then it asks me to put in disc 2. I do, and he moved to 94%, which is the stage that she calls 'Copy texture.bar' then it stops and I can hear the disc turn and stop repeatedly. After about 10-15 minutes, I get an error message and it said:

    "Age of Mythology of installation encountered a disk error when writing in the file.

    C:\Users\(My Name)\Desktop\aom\textures\textures.bar.

    Make sure that your hard disk is not full, and that the file is not in use. »

    I know that my hard disk is not full, because I just got this computer a month ago. In addition, when the disc is, it vibrates and makes a buzzing sound that only stopped when I put my finger on the space between the disc and the side of the laptop.

    Could you please help me?

    See if it's in the download of the demo. http://AOM.HeavenGames.com/

  • Set the format digital u32 when writing of TDMS files

    We use two meters of a PCI-6251, with two counters in the mode of angular position, to measure the angular positions of the two optical encoders 1000 per second for intervals of 10 to 20 hours.  We are writing to write files using PDM.  The files are very large, about 800 MB, but it is acceptable.  Convert us the TDMS files in .txt files, and then the data from .txt files are analyzed in Mathematica.

    My question is: How does one control the digital format of the data that is written in TDMS write?  At this moment we have two counters of the value of the product N = 10000 numbers U32 samples are then transmitted continuously to a TDMS file every 10 seconds.  The counters are using units of ticks (integers) and we would like to see whole in our data files.  We are convinced that the counters are producing U32 to the format number, since we see the correct U32 integers in the indicators on the front panel and we see labels on the value axis on our waveform graphs are integers, not real numbers.

    But it is also clear that Scripture TDMS puts double-precision (64-bit) numbers floating point in the PDM file, not numbers of U32.  The double-precision floating-point numbers cause our .txt files to be twice as big as they should be - these .txt files are half full with useless zeros and decimal points.  In addition, when you convert the U32 to double-precision real numbers, it seems to be a loss of precision as a result of writing of PDM, which is not acceptable.

    Our experience produces pairs of integers: U32 (or I32) format.  We could even get away with numbers I16.  Is it possible to get our data to stay in U32 (or same I16) format when they are written to the TDMS file?  What controls the digital numbers written to tdms?  Do all the numbers written in a PDM file end up being written as floating-point numbers double-precision?

    We use LabVIEW 8.2 on a PC running windows XP.

    If associate you TDMS write U32 data, data in the file will be U32. Floating-point conversion probably occurs when you read data from the file back. You can change this by plugging in a U32 empty table at the entrance of 'data type' reading PDM.

    You can check the data type in the file by examining the channel properties in the viewer of TDMS files. If NI_DataType is 7, given in the file are U32. If it is 10, data are floating point.

    Hope that helps,

    Herbert

  • Receive error 5 when writing to a file

    Running Windows 7 and get this error 5 when trying to write to a file

    It seems such a simple thing, I used writing files on other projects without any problem but

    He does not play on the Win 7 machine (and another one)


  • Error code 1 when writing to text file

    I have an error code 1 when I try to write to a text file in my application. Really, I don't understand and don't know how to solve this problem.

    If anyone can help me please fix this, it would be greatly appreciated!

    Do not close the file in the box 0.  It closes only after your while loop ends.  Keep your refnum file stored in a shift register.

    My guess is that you open the file outside the while loop and you pass in the refnum and use it in the box 0.  Then you close the file that kills the refnum.  Then, you open the file again (possibly automatically with read) then close that.  When you get to the enclosure 1, you use the same refnum you originally opened up to the outside, but that was closed and is now invalid.

  • CVI 2009 errors when writing of hidden file

    I recompiled a program in CVI2009 that was previously written in 9.0.  After doing so, the program will write is no longer in a text file and the value of the hidden attribute, CVI returns the error 'access denied '.  If I delete the hidden attribute the program works very well.  I forgot to put something or is it a matter of CVI 2009?

    I remember having the same problem in versions prior to 2009.

    Hidden attribute cache file from the search functions if this is how your code finds the file in text format.

    You can use the SetFileAttrs function to display the file temporarily and then you can hide it again, if necessary.

    Hope this helps,

  • Replacing special characters when writing to a file

    I use the following to replace Muñoz (n with null).  It should produce as Muoz.

    This should be simple, but it does not work.  209 and 241 represent the upper and the lower case n.

    This statement is a CFFILE.  I'm generating the file but the n is still there.

    Replace (LGL_NM, Chr (209) & chr (241),'3 ', 'all')

    I also tried without success the following:

    < cfset x = ReplaceNoCase(#Object_query.) LGL_NM #, "#Chr (209) # ',' ', 'all') > '"
    < cfset LGL_NM = ReplaceNoCase (x, "#chr (241) #","", "all" "") >

    Help, please.

    Thank you!

    Bill



    #REReplaceNoCase (testString, "[#chr (209) ##chr (241) #]", "", "all") #.

  • After effects error: rendering error while writing to the file. The disk is full.

    Hello

    I tried to return a video in AE CC 2014, with RGB + Alpha because I wanted to keep the background transparent (rotoscoped) so that I can then use it in first.

    I chose to export to QuickTime, with uncompressed 8-bit.

    After he made it for a little while, I had a pop up window saying

    After effects error: error in rendering when writing to the file "E:... blabla". The disk is full. The file may be damaged or corrupted. (- 1610153463).

    I read a thread posted in the forums, but I don't understand the solution here... What is a POD?

    I have a Win7 Ultimate, x 64. A lot of disk space and 16 GB of RAM.

    Please help, I canoot go further in my project with this bug...

    Jaywaii

    Is the drive in FAT32 formatted accidentally? If so, you can only restore up to 4 GB for a single file. Try to make a TIFF sequence instead. Tip of litte - press the LZW compression checkbox in the options for a lossless compression format, this allows you to keep the path file size down.

  • When I upgraded to FF 3.6, the line header of FF with file, publishing, display, etc. is no longer visible. What should I do to display this line?

    When FF starts, the file, edit, etc. line does not appear. What should I do to display this line?

    Bill

    This has happened

    Each time Firefox opened

    == I upgraded to FF 3.6

    You are welcome.

  • Control of the authorization of sharing when writing to a text file

    I have several application that writes a file of text defined in a file share.  Another application, not a LabVIEW application then reads the delimited text file.  When my application is creating or writing to the file text delimited, is there a way to manipulate the permissions so that no other application can read the file at the same time, I am writing to you in the file?  I can do this in Visual Basic through the FileShare (http://msdn.microsoft.com/en-us/library/system.io.fileshare(v=vs.110).aspx) option during the creation of filestream, but I don't see this option in LabVIEW.  Thank you.

    Too bad.  I believe that this is possible thanks to the function of "deny access".

  • Why can't see my pictures when I open my file and I click on 'VIEW', then I click on "Extra Large, large, medium or small icons"

    Why can't see my pictures when I open my file and I click on 'VIEW', then I click on "Extra Large, large, medium or small icons" only the icon appears with my name in photo below.  I have a heavy task to accomplish and this is a rush rush rush.  Can you help me please?

    Here's a possibility... go to... Start ORB / Control Panel.
    Folder options / tab / files and folders / uncheck
    "Always show icons, never thumbnails" / apply / OK.

  • Exception is coming when writing files on FTP through business services

    Hello

    Exception is coming when writing files on FTP through business services

    I write file on the FTP of Business Service Oracle Service Bus. The file was written successfully, but in the following exception logs is coming. Is there a solution to remove this exception. or why when you rename the file there.

    < 28 August 2014 9:49:29 AM GMT + 05:00 > < error > < WliSbTransports > < BEA-381105 > < error occurred for the service endpoint: com.bea.wli.sb.transports.TransportException: file could not be renamed to: TESTFILE/TEST.a to: TESTFILE/TEST

    com.bea.wli.sb.transports.TransportException: file could not be renamed to: TESTFILE/TEST.a to: TESTFILE/TEST

    at com.bea.wli.sb.transports.ftp.connector.FTPTransportProvider.sendMessage(FTPTransportProvider.java:422)

    at com.bea.wli.sb.transports.ftp.connector.FTPTransportProvider.sendMessageAsync(FTPTransportProvider.java:306)

    at sun.reflect.GeneratedMethodAccessor672.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    Truncated. check the log file full stacktrace

    Caused by: java.io.IOException: file could not be renamed to: TESTFILE/TEST.a to: TESTFILE/TEST

    at com.bea.wli.sb.transports.ftp.resource.FTPResource.renameToUniqueFilePath(FTPResource.java:1962)

    at com.bea.wli.sb.transports.ftp.connector.FTPTransportProvider.sendMessage(FTPTransportProvider.java:415)

    at com.bea.wli.sb.transports.ftp.connector.FTPTransportProvider.sendMessageAsync(FTPTransportProvider.java:306)

    at sun.reflect.GeneratedMethodAccessor672.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    Truncated. check the log file full stacktrace

    Kind regards

    Junaid Ahmed

    Yes, read/write access is available. but when I send the name of the file TEST. A there is no Exception. OSB is 11.1.1.6.0 and I do FTP OSB business for iSeries. I don't know what will be the reason.

  • Issue when writing xml file

    Guys,

    I read the data in table and writing to XML file and see the following error when it reached create table step.

    ODI-1228: LOAD_DATA_COMM (export) failed on target connection XML COMM_POS.

    Caused by: java.sql.SQLException: unexpected token: C$ _COMMDAILY required:)

    at org.hsqldb.jdbc.Util.sqlException (unknown Source)

    for org.hsqldb.jdbc.JDBCPreparedStatement. < init >(Unknown Source)

    at org.hsqldb.jdbc.JDBCConnection.prepareStatement (unknown Source)

    at com.sunopsis.jdbc.driver.xml.SnpsXmlConnection.prepareStatement(SnpsXmlConnection.java:1177)

    at sun.reflect.GeneratedMethodAccessor65.invoke (unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    to oracle.odi.core.datasource.dwgobject.support.OnConnectOnDisconnectDataSourceAdapter$ OnDisconnectCommandExecutionHandler.invoke (OnConnectOnDisconnectDataSourceAdapter.java:200)

    to $Proxy2.prepareStatement (Unknown Source)

    at oracle.odi.runtime.agent.execution.sql.SQLCommand.doInitializeStatement(SQLCommand.java:83)

    at oracle.odi.runtime.agent.execution.sql.SQLCommand.getStatement(SQLCommand.java:117)

    The pointers will be appreciated!

    Thank you

    The problem solved by mentioning the name of correct schema in the physical schema.

  • When I export my file to generate a .pdf file, the text box is literally a box around it! How to make this line disappear?

    When I export my file to generate a .pdf file, the text box is literally a box around it! How to make this line disappear?

    Looks like you have a line on it. Select the image and the race set to None.

  • Photoshop CS4 - when I pullled a file, JPEG logo, someone sent me, the screen ran fine on green lines. What is c? How can I remove it?

    Photoshop CS4 - when I pullled a file, JPEG logo, someone sent me, the screen ran fine on green lines. What is c? How can I remove it?

    Try:

    View/Clear Guides

Maybe you are looking for

  • Fatal Error 2343 trying to remove from the PC Icloud

    Hi, when I try to uninstall from your PC Windows 7 icloud he puts an Error 2343 then alert to saying fatal error. It doesn't let me repair or install new implementation of the same error message?

  • Transfer pictures from old PC to iPad - no synchronization

    My friend has an old PC and asked me to pass his many photos of her on his iPad. I read everywhere and thought I needed to sync photos to the iPad via iTunes, I did through my Mac and an external hard drive. However, she cannot delete pictures of his

  • Tab home pages. Add also won't go away?

    If I was on MLB.com and I saw this ad on get personas for your favorite teams, so I decided to click on it. Turns out that I was mistaken for download this addon called "Brandthunder. I removed the character and the addon because it was filling up my

  • I get a double blue bar at the top of the browser window that makes certain commands fail.

    When I opened a second FireFox application a double blue line appears at the top of the browser window. To close the window, you must use the X above the page. When in this State, you can display only a landing page that you can not return to the pre

  • Satellite A60 freezes when running on batteries

    HelloI have a problem with my Satellite a60. I bought it a few months ago and he starts it freezes when running on batteries. I don't think it's a problem of software or memory. I did a few tests of memory... It usually occurs only minutes after star