Script Output and not copying extra trailing spaces

My keyword foo has failed me (both google and here).
Is there a way to suppress the extra whitespace that is generated after the script output pane's text, at least during copy-paste?
When I copy text out of the the script output pane, I end up with 36,000 characters per line when I only need, say 100.
(Or have I somehow turned on a setting that made it huge and have not noticed it?)
Thanks,
Andy Bay

Hi Gary,
Thanks for logging this bug:
Bug 13357403 - FORUM: NEED TRIMOUT AND TRIMSPOOL SUPPORT
In response to this thread:
Re: 3.1EA1 - Whitespace in the Script Output window
Regards.
Greg.

Similar Messages

  • Please reply:how to avoid extra trailing spaces while using cursor sharing

    i am using cursor sharing with FORCE or SIMILAR.
    what is the solution to avoid extra trailing spaces without any java code change.
    do we have any option in oracle to avoid extra trailing spaces during the query processing ?
    I am using Oracle 10g
    CURSOR SHARING is a feature in which multiple sql statements
    which are same will have a shared cursor (in the library cache) for an oracle session,
    i.e, the first three steps of the sql processing (hard parse, soft parse, optimization)
    will be done only the first time that kind of statement is executed.
    There are two ways in which similar SQL statements with different condition values can be made to "SHARE" cursor during execution:
    1. Writing SQLs with Bind Variables: SQLs having no hard coded literals in them
    For e.g., the query below
    SELECT node.emp_name AS configid
    FROM emp node
    WHERE emp_no = :1
    AND dept_no =
    DECODE (SUBSTR (:2, 1, 3),
    :3, :4,
    (SELECT MAX (dept_no)
    FROM emp
    WHERE emp_no = :5 AND dept_no <= :6)
    AND node.dept_type = :7
    ORDER BY node.emp_name
    Here all the variables are dynamically bound during the execution. The ":X" represents BIND Variable and the actual values are bound to the SQL only at the 4th step of the execution of the SQL.
    In applications: The queries written with "?" as bind variables will be converted into ":X" and are sqls with Bind Variables.
    2. The CURSOR_SHARING parameter: Only Useful for SQL statements containing literals:
    For eg., the query below:
    SELECT node.emp_name AS configid
    FROM emp node
    WHERE emp_no = 'H200'
    AND dept_no =
    DECODE (SUBSTR (:1, 1, 3),
    'PLN', :2,
    (SELECT MAX (dept_no)
    FROM emp
    WHERE emp_no = :3 AND dept_no <= :4)
    AND node.dept_type = :5
    ORDER BY node.emp_name
    In the query above, there are two hard coded literals H200 , PLN. In this case when the same SQL executed with different values like (H2003 , PLN), oracle will create a new cursor for this statement and all the first three steps ( hard & soft parse and optimization plan) needs to be done again.
    This can be avoided by changing the CURSOR_SHARING parameter which can be set to any of three values:
    1. EXACT: Causes the mechanism not be used, i.e. no cursor sharing for statements with different literals. This is the default value.
    2. FORCE: Causes unconditional sharing of SQL statements that only differ in literals.
    3. SIMILAR: Causes cursor sharing to take place when this is known not to have any impact on optimization.
    So, FORCE and SIMILAR values of the parameter will be helping in cursor sharing and improve the performance of the SQLs having literals.
    But here the problem arises if we use the FORCE and SIMILAR other than EXACT.
    alter session set cursor_sharing ='EXACT'
    select 1 from dual;
    '1'
    1
    alter session set curson_sharing='FORCE'
    select 2 from dual;
    '2'
    2
    alter session set curson_sharing='SIMILAR'
    select 3 from dual;
    '3'
    3
    So, this will give extra trailing spaces in when we retrieve from java method and any
    further java processing based on the hardcoded literal values will fail. this needs lot of
    effort in remodifying the existing millions of lines of code.
    My question is i have to use cursor sharing with FORCE or SIMILAR and can't we do the trimming
    from the oracle query processing level ?
    please help me on this ?
    Message was edited by:
    Leeladhar
    Message was edited by:
    Leeladhar

    Please reply to this thread
    How to avoid extr trailing spaces using Cursor sharing opton FORCE, SIMILAR

  • How to avoid:Query returns extra trailing spaces in oracle 10g

    I want to use cursor sharing FORCE, SIMILAR for performance tuning. but i am having some problems like query process will give extra trailing spaces this will throw errors from the java application while reading literals.
    do we have any option in oracle 10g to avoid extra trailing spaces during query processing ?
    alter session set cursor_sharing ='EXACT'
    select 1 from dual;
    '1'
    1
    alter session set curson_sharing='FORCE'
    select 2 from dual;
    '2'
    2
    alter session set curson_sharing='SIMILAR'
    select 3 from dual;
    '3'
    3

    You are right, But we already wrote millions of queries during that time we used cursor sharing is EXACT. so i don't want to take risk in modifying all the existing queries by adding TRIM.
    do we have any option in oracle to trim after/ during processing the query.
    Now we are facing performance issues and suggested us to use SIMILAR as cursor_sharing. but all the selected rows are giving extra tralining spaces.
    I think i am clear now.

  • How can change the font in the script output and the data grid ?

    How can change the font in the script output and the data grid in Sql Developer?

    You can't easily unless you have the latest version (2.1.1).
    If you do have this version then changing the font in the Tools/Preferences menu under the code editor/fonts section will also change the font of the data grid.
    For details of changing the fonts in an earlier version then see Sue's post below.
    http://sueharper.blogspot.com/2010/03/back-to-basics-changing-font-setting-in.html

  • Tell iphoto to view photos from a predefined folder and not copy them

    Hi!
    I am using iphoto 09 and was wondering if we can tell iphoto to take photos from a particular folder and not copy the photos in its own set of folders. I don't want to have duplicates.
    I already had structured my folders in a certain way and I don't want Iphoto copying them again.
    tanks!

    Best way of working: Recreate your folders in the iPhoto Window and forget about your own.
    Here's a fuller description of a Referenced Library and the perils thereof:
    https://discussions.apple.com/thread/3062728?tstart=0

  • Ajax is caching the output and not updating the page.If you force a second postback after you should have seen a popup (but didn'), you then see popup displayed

    Ajax is caching the output and not updating the page.If you force a second postback after you should have seen a popup (but didn'), you then see popup displayed

    Hey, thanks for replying. It is the user who needs to manually submit the page.
    Basically our page has a hidden div with various text fields and combo boxes. When the user click on specific links on the page, this div is populated and made visible to the user in server side code.
    What happens for all other browsers other than firefox 23 onwards (worked fine in 22) is that after the user clicks on the link, our server side code is executed via a HTTP post. The server then renders the hidden div and sends the additional HTML down to the browser via ASP.NET AJAX.
    With Firefox 23, the additional HTML is not rendered on the first postback. Subsequent clicks of the same link execute the same server side code but the additional HTML is rendered on the browser without issue.
    We've done a lot of debugging now and the issue is localised to a specific third party supplier's (Infragistics) control. I think Firefox 23 must have changed the way that the viewport or screen bounds are calculated or reflected back to this control as the issue seems to stop when we remove the control's MaintainPositionOnScroll attribute. It might be that the Firefox 23 DOM is not able to provide the screen dimensions accurately when the page is first rendered. I say this as the second postback renders the additional HTML fine.
    The control in question is quite an old version so I don't think it's your issue to be honest.
    Just so that this might be helpful to other developers using the Infragistics Window Dialog Control, setting MaintainPositionOnScroll to false solved this issue for us.

  • HT4059 Why ibooks on iphone5 share button only allows print and not, copy - mail or dropbox?

    Why ibooks on iphone5 share button only allows print and not, copy - mail or dropbox?

    Why ibooks on iphone5 share button only allows print and not, copy - mail or dropbox?

  • Why is the Executable class only available in Script Task and not in Script Component.

    Why is the Executable class only available in Script Task and not in Script Component.
    Here is a link to the Executable class documentation.
    http://technet.microsoft.com/en-us/library/microsoft.sqlserver.dts.runtime.executable.aspx
    Mr Shaw

    Because Executables are available only in Control Flow. Script Task is a control flow component whreas Script Component is a data flow component. It works on data buffer and rows and not on executables.
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • [2.1.1-64] Right-clicking to "Copy" text in Script Output and other windows

    Right-clicking should bring up a menu to "Copy" text in Script Output. The short cut key for copy does work as a workaround.

    The tricky bit is knowing which story you want copied first. But you certainly don't want to involve system Events, or even copy and paste. This should get you started:
    tell application "Adobe InDesign CS4"
    set theSel to selection
    set thePage to parent of item 1 of selection
    set emptyFrame to text frame 1 of thePage whose contents = ""
    duplicate parent story of item 1 of theSel to after insertion point 1 of emptyFrame
    duplicate parent story of item 2 of theSel to after insertion point 1 of emptyFrame
    end tell

  • Itunes allows library to point to other folders and not copy files - WHY DOESN'T iPHOTO?

    Hopefully Terence Devlin and other experts will see this. I really am intrigued as to iphoto behaviour and seek some clarification.
    I just waded through 13 pages of an old thread that was locked where Terence kept saying iphoto was all one needed to work with one's photos and kept getting called on the fact he would not answer the question "where are my photos" (photos = files) because it was so darn dangerous for anyone to touch the actual files in the iphoto library.
    I have a use case I need help on and an example of Apple's utter inconsistency here.
    Inconsistency: iTunes lets me create a library all the while pointing to the original files that *I* have imported and structured in a given directory/folder stucture.  Yes it means I manually manage what is in itunes etc, but that's how I like it. The key thing is that itunes allows the choice to import (copy) files (which makes duplicate and doubles hard disk usage) or not.
    iphoto does not allow that option.
    I just converted to Mac from a PC and copied in over 100gb of photo files - some 16,000 photos. I import new pics to the Mac using Canon native software and store them accoring to a structure/taxonomy that *I* determine and want to control - not some software's predetermined idea of events or locations or whatever.  In itunes I can make 'music' an 'audiobook' or I can make a podcast 'music', I can edit the metadata to order things in the 'library' as *I* choose and the itunes library is coole with this without havign ANY of the soruce files in its library. Naively, I thought iphoto would follow a similar philosophy.
    Use case: I discovered that iphoto has some very effective functionality for management of my uploads and sets etc in Flickr, but to do so I have to import my pics, obviously. So I did import the whole 'Pictures' folder - not for a moment considering that Apple would be dumb enough to copy every pic and make a duplicate, or that I might not get the chance to say yes or no to this in the settings, as per itunes.  Having looed for that optin and failed to find it I imported anyway to see what happened. After I realised that the Mac was heating up and files were being copied and I was going to lose another 100+gb of disk space I forced this to quit.  And thanks to others on that other thread I found the iphoto library and deleted the whole thing, getting back 100bg of drive space. All I want to do is use iphoto for the Flickr sharing/management functionality - I have no use for it otherwise. 
    Why would Apple think that not having to duplicate files is ok for itunes but not a viable option for iphoto? Why would I want to double the disk space used for every photo I store? At the very least iphoto needs to come with a health warning that it should only be used to import from external devices and be the sole manager of photos, unless one wants to use double the disk space.
    So if I want to use the sharing (i.e. Flickr uploading and management of sets etc) capabilities, should I import all or some of my folders, do my work and then delete the library each time to reclaim the disk space?

    If I import photos to iPhoto, the originals are deleted? So if I import from a card I have taken from my camera or if I connect my camera directly, the act of importing into iPhoto wipes them from my card?
    Again, you need to check your facts before getting indignant. This is simply not true. It's an option you have and not one I recommend using. But it's only an option.
    Storage costs money and I do not want to have two copies of every pic on my hard disk - especially given huge filesizes of RAW files today.
    No one is suggesting that you have two copies. You have your iPhoto Library and then you back that up. Again, less indignnation, more careful study.
    I do use other photo managers (e.g. native Canon tools) quite happily and they are far less 'exclusive' - i.e. I can use different apps with the same native file structure.
    Using other photo managers makes little sense, any more than having two address books. How do you keep them in sync. Your comment about file structure is important, we'll come back to that.
    If I want to go back to a Windows PC or any other machine and want to retain the "manual" file labelling and directory structure that I have implemented and been using for years, it seems that having a reference library that *I* know the taxonomy of is actually an advantage if I want to go somewhere else.
    If you want to retain exactly the same filing structure you have now, then don't use any Photo Manager. Stick to the file manager. You'll be missing out on a lot of options, but hey ho, it's what you want.
    That said, if you want to migrate from iPhoto to a Windows Machine then that's what File -> Export is for, and you can export from iPhoto to a folder tree matching your Events.
    And this is a big one: This is true of any Photo Manger. Especially one with lossless processing - iPhoto, Aperture, Lightroom et al.
    Here's the principle: IT IS MY DATA AND I WILL DECIDE HOW IT IS LABELLED - WHAT THE FILENAMES ARE - AND HOW IT IS STRUCTURED INTO DIRECTORIES AND SUB-DIRECTORIES.  I WILL DECIDE WHICH APPLICATION I USE TO DO ANYTHING WITH THAT DATA AT ANY POINT IN TIME
    DId you stomp your foot while writing those block capitals too?
    But here's the thing: It's your data then why the heck are you dealing with Files?
    This is the key difference, and frankly, unless you can geet this you're always going to have problems with Photo Mangers.
    The illustration I use is as follows: In my iTunes Library I have a file called 'Let_it_Be_The_Beatles.mp3'. So what is that, exactly? It's not the song. The Beatles never wrote an mp3. They wrote a tune and lyrics. They recorded it and a copy of that recording is stored in the mp3 file. So the file is just a container for the recording. That container is designed in a specific way attuned to the characteristics and requirements of the data. Hence, mp3.
    Similarly, that Jpeg is not your photo, it's a container designed to hold that kind of data. iPhoto is all about the data and not about the container. So, regardless of where you choose to store the file, iPhoto will manage the photo, edit the photo, add metadata to the Photo but never touch the file. If you choose to export - unless you specifically choose to export the original - iPhoto will export the Photo into a new container - a new file containing the photo.
    See? It's about the data and the data and the file are not the same thing. Organising your photos based on the files is like organising a shoestore based on the boxes and not the shoes.
    And here's the thing: anything you want to do with your Photos can be done either with or via your Photo Manager.
    And again, I strongly stress, this is true of iPhoto, Aperture and Lightroom.
    And please note: either with or via... Want to use a 3rd party editor, that can be done easily and so on.
    Let me correct you. "If you use an APPLE Photo Manager then it's the go-to app for whatever you do with your photos.
    Doesn't matter who makes it.
    Other Photo Managers may have more flexibility and enable greater user control."
    Sure. iPhoto's a $15 app. Aperture is a $70 one. Adobe's Lightroom is about $150. Pay more get more options.
    And remember where we came in here: You said you weren't able to choose where to store your files. You're wrong. You can. All I'm saying is that there's no point and more work to it.
    For many - including me - the Apple way seems way too dictatorial -
    Whoa. Apple are dictating nothing. You don't have to use iPhoto, you don't have to use a Mac. And remember:
    ...where we came in here: You said you weren't able t choose where to store your files. You're wrong. You can. All I'm saying is that there's no point and more work to it
    Are Ford dictatorial demanding you steer the car using a wheel? Sheez.
    and yes there are certainly advantages for some types of users of trusting one piece of software to do everything, however non-transparent it may be what it is doing or why, and with the dangers of trying to do ANYTHING else at all with one's photos.
    And again, everything is quite transparent if you take a little while to understand it. You don't understand it because you're coming from a file management  and not a data management perspective. Also no one is suggesting using "one piece of software to do everything". iPhoto leverages the Finder for storage, QuickTime for display, uses and Open-Source database and so on, it protects your original file like a digital negative.
    iPhoto may well not be the app for you. That's especially true since you don't understand it and are confusing it with a file manager. That's fine. But please, stop saying things that aren't true.

  • Conky - script output and formatting?

    Hi, i made a small script that is outputting text to my conky, used like this:
    ${execi 3600 ~/scripts/horoscope.pl scorpio}
    The problem is that the text doesn't seem to be formatted (it goes off the edge of the conky).
    How can i get the output text to "fit" within my conky's width and not go off the screen?
    Here is the script:
    #!/usr/bin/env perl
    use strict;
    use warnings;
    use LWP::Simple;
    my $sign = $ARGV[0];
    my @signs = qw(
    aries taurus gemini cancer leo virgo
    libra scorpio sagittarius capricorn
    aquarius pisces
    sub horoscope($)
    our $data = get(
    'http://my.horoscope.com/astrology/free-daily-horoscope-' . $sign. '.html'
    if ($data =~ m/(.+)\ id=\"textline\">(.+)<\/div>(.+)/)
    our $msg = $2 ."\n";
    return $msg;
    } else
    return "Error retrieving horoscope.";
    package main;
    for my $val (@signs)
    if ($sign eq $val)
    print horoscope($val)

    That won't work, as i change conky often. I _don't want_ a script outputting "hard-formatted" text that will only fit one kind of conky unfortunately.
    If that was what i wanted to do i would have done it that way already...
    PS; i don't need to be told to read documentation. I wouldn't have bothered posting if i hadn't looked beforehand. It's rather annoying when you spend several hours searching through doc's, misc forums and tutorials trying to find a solution and when you post a thread about it someone asks you to RTFM.....

  • THIS IS THE RIGHT ONE FOR THE BLUESCREEN (AND NOT THE ONE WITH SPACES!!!!))

    1. Reboot into single-user mode (hold Cmd-S while booting machine)
    2. Follow the directions OSX gives you when you get to the prompt (I think these were them - just type the two commands it tells you to):
    fsck -fy
    /sbin/mount -uw /
    3. Remove the following files:
    rm -rf /Library/PreferencePanes/ApplicationEnhancer.prefpane
    rm -rf /Library/Frameworks/ApplicationEnhancer.framework
    rm -rf /System/Library/SystemConfiguration/ApplicationEnhancer.bundle
    rm -rf /Library/Preferences/com.unsanity.ape.plist
    4. Exit, to continue booting normally
    exit
    so thats all but be sure to type ApplicationEnhancer
    instead of Application Enhancer...etc
    Job Geheniau Netherlands
    [email protected]

    BSG is is owned by Universal/NBC, which took their football and went home.

  • Copy and Paste from Safari to MS Word Text Form Field adds a trailing space

    I know this is just a minor issue, but an inconvenience for me nonetheless.
    When I go to the same page and copy and paste the same text from Firefox, the trailing space is not added.
    What I find puzzling is that when I paste the same copied text into notepad from Safari, it does not add the trailing space.
    So it is likely an issue with MS Word's method of pasting text, but strange to me that it does not happen from Firefox.
    Is there a way to inspect the exact contents of the clipboard to see if there are any differences?
    I just did a little bit more testing, and found that Word only adds an trailing space when I paste into a "Text Form Field" from only Safari.
    Maybe the solution is to stop using MS Word. (Ha, Ha)

    OK, I think I found another way to describe my issue:
    When I copy text from a webpage in Safari, some form of "meta-information", or formatting data, is kept, and when I paste into MS Word, the formatting from the webpage is retained. In my default setup of Firefox, this formatting meta-information is not retained, it only copies the plain-text.
    So my question is actualy: How do I prevent Safari from retaining formatting data, and only copy the plain-text?
    I have been testing some clipboard managers, and have yet to find one that will auto-filter out formatting data from text that I copy, but they can after interaction.
    The other, current, method I have been using is to:
    1. select and copy the text in Safari
    2. paste text into notepad
    3. select and copy text from notepad
    4. paste de-formatted text into MS Word
    Or in Firefox:
    1. select and copy the text in Firefox
    2. paste text into MS Word (no formatting retained)

  • File Adapter: trailing space in field using XSD:Decimal in a CSV file

    Hi Folks,
    I have a problem which i am unable to understand fully.
    We have a SAP to file via XI scenario where a mail adapter is used. We are producing a CSV file as an mail attachment.
    The issue is all the decimal fields have an extra space before the next delimiter i.e. comma.
    The data type used in mapping is XSD:Decimal with 'fraction' set as 2.
    I have checked the source XML and there is no trailing spaces there. Initially i thought this might be due to doing the conversion using transformation beans in mail adapter, to rule this out i checked other files produced using FILE adapter they also appear to have same issue.
    I can't get my head around it, could not find any parameter i need to pass in content conversion either in MAIL adapter or FILE adapter to supress trailing space before the delimiter.
    I suppose this must have occured with others as well.
    Any directions would be greatly appreciated.
    Btw, we are on PI 7.0 and ECC 6
    -Praveen
    Edited by: - External Consultants Mouchel on Sep 15, 2009 5:34 PM

    Hi Mouchel,
    I personally didnot encounter this kind of issue with the file adapter at any point of time. I would suggest you to check the message mapping before and after payload in sxmb_moni. If you see in mapping you may not find out, so view the source in notepad and then see.
    Regards,
    ---Satish

  • External material number with trailing spaces

    Hi ,
    One of our users created a material number(external number range) by copying it  from a spreadsheet. The value he copied had trailing spaces and when he copied it on to material number field the trailing spaces were not removed by SAP conversion routines . But when we deliberately type in trailing spaces the system removes them. Has anyone faced this kind of problems before? If so what is the solution.
    Thanks,
    Veera

    Any Input??????

Maybe you are looking for