Cd() prints a carriage return to the screen

In writing scripts, I've noticed that the cd() method echoes an extra carriage
return to the terminal. Due to the fact that set() is context-specific (can't
say cmo.set(); must say set() instead), long scripts have a lot of calls to cd(),
and so the user sees lots of blank lines when running the scripts.

Justin,
Thanks for reporting this. It will be corrected in the next release.
-satya
Justin Dossey wrote:
In writing scripts, I've noticed that the cd() method echoes an extra carriage
return to the terminal. Due to the fact that set() is context-specific (can't
say cmo.set(); must say set() instead), long scripts have a lot of calls to cd(),
and so the user sees lots of blank lines when running the scripts.

Similar Messages

  • Default Carriage return in the last column when data is downloaded to Excel

    Problem:
    When you download data into Excel and if the last column of your excel is a numeric field, XMLP will add a carriage return (special character) to your numeric field. This feild will be considered as character field by excel.
    Work Around:
    When you build the template, create an empty column as your last column and leave E (or end-for-each) in that empty column.
    Note:
    If the last column is a character column then you do not have to do this.

    I originally had that END:VCARD without any carriage return.
    But I still get an extra carriage return at the end when the JSP renders to VCF
    I'm using Tomcat running on Linux.
    I found this, article which implies (but does not explicitly say) JSP in general adds a newline to the last line:
    http://www.caucho.com/resin-3.0/jsp/faq.xtp (But its not tomcat either, so maybe this info is irrelevant).
    Edited by: shogo2040 on Dec 22, 2008 3:31 PM - changed rendered to VCF from rendered to JSP

  • JSP for Vcard cannot strip carriage return in the last line of the file.

    I am using JSP to output a Vcard (http://en.wikipedia.org/wiki/VCard)
    The following code works great in Windows but fails on the mac:
    <%@ page contentType="text/x-vcard" %><%--
    --%><%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %><%--
    --%><%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %><%--
    --%>BEGIN:VCARD
    VERSION:2.1
    <c:choose><%--
    --%><c:when test="${not ((empty param.lan) and (empty param.fin)) }"><%--
    --%>N:${param.lan};${param.fin}
    FN:${param.fin} ${param.lan}
    </c:when><%--
    --%><c:otherwise><%--
    --%>FN:${param.org}
    </c:otherwise><%--
    --%></c:choose><%--
    --%>ORG:${param.org}
    TITLE:${param.title}
    TEL;WORK;VOICE:${param.phwork}
    ADR;WORK:;;${param.st};${param.city};${param.state};${param.zip};
    EMAIL;PREF;INTERNET:${param.email}
    REV:20080424T195243Z
    <c:out value="${fn:replace('END:VCARD','\\\r','')}" escapeXml="false"/>After some tests, I discovered that Mac (I used Tiger, latest update, not Leopard) needs extra white space and carriage returns stripped off. Once this is achieved, the vcard will automatically import into Address Book. I have followed other forums which advice on using JSP comments as in the code above. But for some strange reason the last line of the JSP outputs an extra carraige return. How do I get rid of the carriage return at the end of the file? the replace function from JSTL is not working.
    Edited by: shogo2040 on Dec 18, 2008 7:11 PM : I added more detail to the Subject

    I originally had that END:VCARD without any carriage return.
    But I still get an extra carriage return at the end when the JSP renders to VCF
    I'm using Tomcat running on Linux.
    I found this, article which implies (but does not explicitly say) JSP in general adds a newline to the last line:
    http://www.caucho.com/resin-3.0/jsp/faq.xtp (But its not tomcat either, so maybe this info is irrelevant).
    Edited by: shogo2040 on Dec 22, 2008 3:31 PM - changed rendered to VCF from rendered to JSP

  • My iphone 6 turned off while i was using face time and it returns with the screen saying Hello mean its reset automatically how is this possible ? Now it requires an id and password to activate which i do not remember need help ?

    My iphone 6 turned off while i was using face time and it returns with the screen saying Hello mean its reset automatically how is this possible ? Now it requires an id and password to activate which i do not remember need help ? but i do remember the id and password which i was using on itunes and Apple store. please i almoost buy it in 890$ so it will be a big lost please help me.

    shahzadfromlahore wrote:
    Now it requires an id and password to activate which i do not remember need help ? but i do remember the id and password which i was using on itunes and Apple store. please i almoost buy it in 890$ so it will be a big lost please help me
    Who set up the phone? Who's Apple ID was used to activate it?

  • After upgrade to ios5, none of the apps will load.  Touching an icon does not open the app; it just blinks and returns to the screen.

    After upgrade to ios5, none of the apps will load.  Touching an icon does not open the app; it just blinks and returns to the screen.

    Go to the App Stor and download an app- any free app will do, it doesn't matter.
    Doing this usually "resets" your device's "app awareness" and you should be able to run any app with no problem.
    And no, you don't have to keep that free one you just downloaded.  You can delete it if you don't want it.

  • When I open my internet and go to say Macys and try to bring up all pages for handbags, the screen goes black and it returns to the screen that has all my icons on it.  Why and how do I fix?

    When I open my internet and got to say the Macy's website and try to bring up all pages in the handbags dept, the screen goes black and it returns to the screen that has all my icons on it. Why?

    Safari is crashing.
    Try a reset:
    Hold the home and power buttons at the same time until the Apple boot logo appears. No data will be lost.

  • How do I add a carriage return to the output ?

    I have a listBox with 15 values. That list box is connected to a textBox. The text box prints only the selected items from the listBox (thanks try67 for the help getting that set up). Now what I would like to do is have each of the items that are selected to appear seperately in lieu of having one lone continuous line. I think what I need to do is add a carriage returne (or two) between each item selected. Here is the code I have for custom calculation script
    var v = this.getField("DiagnosisList").value;
    if (typeof v=="string") event.value = v;
    else event.value = v.join(", ");
    I triend adding  /r/n   but I keep geting syntax error. Thanks for any assistane.

    I appreciate you assistance, but this is not going to work. The narrative on the listBox for each item is so large, that it either gets chopped off or if I set the text size to auto it is too small. Is there a way to display the list items in a format that 'wraps'? If not then I will neet to set it up with check boxes now, but here is how the format should work:
    () item one
    () item two
    () item three
    then allow certain ones to be checked,
    (x) itme one
    () item two
    (x) item three
    and based on the ones checked, those are the only ones that print
    Item one.
    Item two.

  • Carriage Return with the text in xdofx

    Hi
    I have to insert a carriage return with in a text I tried <?xdoxslt:chr(10)?>
    e.g <?xdofx:if x>'0' then 'Approved. Thank you.' else 'Disapprov.Thank you. ' end if?>
    so the output should be
    Approved
    Thank You
    I need carriage return between Approved and Thank You
    Thanks

    Use this:
    <?xdoxslt:ifelse(x>0, concat('Approved', xdoxslt:chr(10), 'Thank you.'), concat('Disapprov. ', xdoxslt:chr(10), 'Thank You.'))?>
    I tried this and it works
    <?xdoxslt:ifelse(10>9, concat('Approved', xdoxslt:chr(10), 'Thank you.'), concat('Disapprov. ', xdoxslt:chr(10), 'Thank You.'))?>
    Thanks,
    Bipuser

  • Place a carriage return in the field separator of an iChart

    In the Data Mapping of an iChart, the Field Separator is a good tool to obviously separate data.  The problem I see is the two fields and the separator are on one line.  How can I place a carriage return to place the two fields on separator lines?

    Hi,
    This is not possible to do; however, perhaps it could be entered as a feature request for a later version.
    Diana Hoppe

  • Acrobat reader will not print what is showing on the screen

    I created a business card in a graphic design program,  exported it as a PDF file. When I open the pdf file in acrobat, it will display correctly on the screen, but will not print correctly. 
    When I click on the print icon, a box opens and shows a small preview of what is supposed to print. What shows in the small preview box is correct, but when it prints, it drops off text.
    When I go back to the program that created the card, it will print correctly from that program.  When I open the pdf file in Photoshop, it will print correctly in Photoshop.  It just drops off text in Acrobat Pro or Acrobat Reader when printing.

    This sounds very similar to the issue that I am having.
    acrobat pro printing correctly ,same file with adobe reader printing grey instead of black.
    Unfortunately I have not yet gotten any feedback, and your post being over 45 days without a response doesn't bode well for my issue either.
    Sorry I can't help you.

  • I can't print. the accept of terms from the e print won't come off the screen

    The eprint accept terms shows up on the screen.  when I hit ok nothing happens and now I can not print

    I will love to help you but in order to so I need more information such as complete printer model and operating system you are using in your current computer(s) or device(s)
    Take the time to read this post it will help you better formulate your post to maximze the probability of suggestions and will increase the chances of you getting your problem solved.
    CLICK HERE  
    Please post agian after reading I will do my best of assist you with the problem you are having;
    RobertoR
    And remember....
    You can say THANKS by clicking the KUDOS STAR. If my suggestion resolves your issue Mark as a "SOLUTION" this way others can benefit Thanks in Advance!

  • Como regresar a la pantalla a la normalidad? How returning to the screen to normal?

    Tengo un problema con Mozilla Firefox el cual es que la pantalla se desplazo hacia la derecha (si uno la ve defrente) y si o si debe permanecer en pantalla completa para ver todo el contenido. Le agradecería si me ayudan a encontrar una solución.
    I have a problem with Mozilla Firefox which is that the screen is moved to the right (if you see it defrente) and whether or whether it should remain full screen to view all content. I would appreciate if you help me find a solution.

    Did you use a wireless keyboard to reset the PRAM? If you have access to a wired one, please use that. Have you opened the back to check for swollen or leaking caps? Is all the dust on the fans and air vents blown out? Check the [LEDs|http://support.apple.com/kb/HT2831] as well.
    Try booting from your install disc and using Disk Utility
    1. Insert the Mac OS X Install disc that came with your computer, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
    Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.
    3. Click the First Aid tab.
    4. Click the disclosure triangle to the left of the hard drive icon to display the names of your hard disk volumes and partitions.
    5. Select your Mac OS X volume.
    6. Click Repair. Disk Utility checks and repairs the disk.
    Please post back,

  • Print Options "OK" inaccessible, off the screen.

    When at my Bank I chose to print a check and when I select the print option on the checks screen the print options screen appears in the lower right hand corner and the "OK" button is not accessible.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • Pixma MX922 prints a page correctly, then won't print any more...the screen says "Printing..."

    As the subject line states - it shows the document is still in the queue.  I have it setup on our wireless router to print.  I have to unplug the printer in order to reset it - it gives no error message, will not cancel the document, etc.  I end up doing this a couple of times per day.  Please help!  If this is a wifi/WAN network issue, I'll hook up a cord and be done with it - I don't have to use it to print wirelessly, although that is one of the reasons I selected this model was for that capability.
    Joel

    Hi Dababyguitar!
    So that the Community can help you better, we will need to know the computer operating system you're using (Windows XP/Vista/7/8 or Mac 10.x). Any other error messages or details you'd like to give will also help the Community better understand your issue.
    Thanks and have a great day!

  • Carriage return on the portal displays as # on the smartform

    Hi,
      I am creating an invoice through the portal. In the portal I enter three lines of text for billing header text. After each line I hit a ENTER.
      When I view the invoice the three lines in the header text are displayed allright however when I try viewing the invoice on a smartform , i see that each of the ENTER after every line shows a ## i.e.
    LINE1##LINE2##LINE3.
    The function module being used to read the text is READ TEXTINLINE and I have narrowed down the problem to this function module. Data by this module is being read from the text memory and reads in the format above. I need to either use another function module or need to format or convert the data as required (without the #'s) . Please let me know the best strategy and how to implement it.
    Thanks  in advance.

    Hi,
    Use the SPLIT V_STRING AT CL_ABAP_CHAR_UTILITIES=>CR_LF.
    Ex.
    DATA: V_STRING.
    DATA: LT_STRING TYPE STRING OCCURS 0 WITH HEADER LINE.
    SPLIT V_STRING AT CL_ABAP_CHAR_UTILITIES=>CR_LF
              INTO TABLE LT_STRING.
    Thanks,
    Naren

Maybe you are looking for

  • IOS calendar month in week view

    How to I know what month I am in when using week view in calendar? I only see date and day of the week.

  • Suddenly I can't drag files from explorer into audition anymore.

    Hi any help on this would be greatly appreciated. I was having some trouble with my m-track ASIO interface drivers so I went through some steps to try and fix this, and made some changes to audition and windows 7. I made some changes listed here http

  • Exception error downloading from photos from iTouch 4 w/PSE6

    Is there a patch for PSE6 that will allow me to download the photos off an iTouch 4, IOS 4.3.x?  Currently I get an exception error from PSE when it tries to communicate with the iTouch.

  • How to send price condition changes to external system

    Hi all, By using trans: VK11/VK12 we may add and change pricing conditions for a particular condition type. We want to send to PI changes beeing made (for amount, date interval, e.t.c...). Our condition type is ZPRB, involving the following table to

  • Gaussian Blur = 0 still blurry

    Could someone please help me with a search? I'm trying to animate a blur, but at the first keyframe (blur amount=0), it's still noticeably blurry...which will result in a jump during the playback. I disable the blur and it's normal. I've tried search