LF and CRs & editor

In a previous postin, it was mentioned that for Unix executable files the LF should be used and not the CR. The member of the group gave me a Perl instruction to change the CR, or rather, perhaps to remove it. How can we "see" this instructions (if I remember correctly from my electronics days, they have a different ascII code ..) ?
Under Windows they mention Notepad ++ to do editing. I have started using SeaMonkey. Is there something more suitable ?
Thanks , Kevin

How can we "see" this instructions (if I remember correctly from my electronics days, they have a different ascII code ..) ?
You can use cat -e to 'see' the code. a '$' will be displayed as the end of line with a New Line ('$' is just an indicator, its not in the file).
For example. a new line will show as:
For example. a new line will show as$
If it has a CR, it would show as:
For example. a new line will show as^Mif it has a CR, it would show as^M
A CR is shown a ^M, there is no '$' (this is just an indicator, its not in the file)
You can also use tr to convert:
tr '\r' '\n' < macfile.txt > unixfile.txt
as well as awk
awk '{ gsub("\r", "\n"); print $0;}' macfile.txt > unixfile.txt
or perl
perl -p -e 's/\r/\n/g' < macfile.txt > unixfile.txt
see: http://kb.iu.edu/data/agiz.html

Similar Messages

  • CRS Editor 5.0(2) - Pass a variable info to an agent

    Hello
    I have a variable the information stored about a customer's name associated with the calling number, then interact with an SQL database. I want to convey this variable (the name of customer information) to an agente who will answer the call, How Can I do this?
    Regards,
    Omar

    You use the Set Enterprise Data step to save the variable to an ECC value.
    The script would look similar to this:
    Start
    ...logic...
    Label: SELECT_RESOURCE_csqID1
    Select Resource
    --Selected
    ----Set Enterprise Data
    ----Connect
    ------Connected
    --------Goto END
    ------Failed
    --------Goto SELECT_RESOURCE_csqID1
    --Queued
    ----...Logic...
    ...Logic...
    Terminate
    End
    For this to work, you must have already configured the ECC value and a non-default layout list within Cisco Desktop Administrator. Do NOT customize the DEFAULT list as it is subject to get overwritten during an upgrade. See the Cisco Desktop Administrator User's Guide 6.4 for Unified CM for more information on setting up Enterprise Data which starts on page 25.
    http://cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/crs/express_5_0/user/cda/cda64ug.pdf
    You can read more information about the Set Enterprise Data step in the Cisco CRS Scripting and Development Series: Volume 2, Editor Step Reference 5.0(1).
    http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/crs/express_5_0/programming/script_devp/editor_step_ref/crs501sr.pdf
    The Set Enterprise Data step begins on page 98 (2-70).
    This step is a little confusing to those unfamiliar with it. To get you started:
    1) Add the step at the appropriate location (see above).
    2) Ignore the General tab. This is used with ICM. Proceed directly to the Expanded Call Variables tab.
    3) Add a variable. The most important thing is to map this data to the layout list you created in CDA. The first thing to add is this:
    NAME: "user.layout" [including the quotes!]
    VALUE: "" [including the quotes!]
    Here's where people get turned around: the "value" on this step is the VARIABLE WITHIN YOUR SCRIPT you wish to assign. The "name" on this step is the ECC VALUE NAME you created in CDA.
    Always put the Name in quotes.
    Put the Value in quotes only if you are assigning a literal value instead of mapping a variable from the script.
    Click OK on the warning when prompted.
    Lastly, stay away from the System > Expanded Call Variable window within the CRS Editor interface. It creates a .DAT file which must be present whenever the script is edited. If it is missing the values you set in that window will be lost and break the script when someone missing the DAT files saves the script. For UCCX environments, this isn't required (an ICM thing).

  • How to work JQuery and content editor webpart functionality in sharepoint 2013?

    Hi all,
    I have a requirement to display the list data in share-point page by using JQuery and content editor web-part. could you please any one suggest the process to display the list data using JQuery and ContentEditorWebpart.
    Thanks in advance.
    Thanks,
    phani kumar
    Phani kumar

    Hi,
    From your description, my understanding is that you want to show a list data in a page using jQuery and Content Query Web Part.
    You could use SharePoint REST API to accomplish your requirement, please refer to this code below:
    <div id="listData">
    </div>
    <script src="https://code.jquery.com/jquery-1.11.1.min.js" type="text/javascript"></script><script type="text/javascript">
    $(document).ready(function(){
    //replace your list title
    $.ajax({
    url: _spPageContextInfo.webAbsoluteUrl + "/_api/web/lists/getbytitle('customlist03')/items",
    type: "GET",
    headers: {"accept": "application/json;odata=verbose"},
    success: function (data) {
    if (data.d.results) {
    var obj = data.d.results;
    for(var i = 0; i < obj.length; i++)
    $("#listData").append("<div>title "+obj[i].Title+"</div>");
    error: function (xhr) {
    alert(xhr.status + ': ' + xhr.statusText);
    </script>​​
    The screenshot below is my result:
    Please refer to these articles:
    Working with lists and list items with REST
    https://msdn.microsoft.com/en-us/library/office/dn292552.aspx
    SharePoint 2013 – CRUD on List Items Using REST Services & jQuery
    http://www.plusconsulting.com/blog/2013/05/crud-on-list-items-using-rest-services-jquery/
    You can also get list data using JavaScript Client Object Model(JSOM), you could refer to this article:
    How to: Complete basic operations using JavaScript library code in SharePoint 2013
    https://msdn.microsoft.com/en-us/library/office/jj163201.aspx?f=255&MSPPError=-2147217396
    Here is a link about how to add code into page via Content Editor Web Part:
    http://blogs.msdn.com/b/sharepointdev/archive/2011/04/14/using-the-javascript-object-model-in-a-content-editor-web-part.aspx
    Best Regards,
    Vincent Han
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Photo and video editor on nokia n8 belle

    Hi, my phone crashed, with a stupid demo game, and I had to use the 3 buttons reset. 
    Now, I do not have access to nokia video and photo editor. How can I reinstall this?
     Thanks in advance

     You could try reinstalling the Firmware using Nokia Suite. If that doesn't do the trick then you will have to go to a Nokia Care point to get those applications re-installed.
     http://www.nokia.com/global/support/locations
    I realise it's too late now but did you try holding the power button down for eight seconds until three vibrations are felt when your phone crashed? This would have re-booted the phone without losing any of your applications/data and is the equivalent of pulling the battery out. The three fingered suicide is meant to be used to try and switch on an otherwise dead phone and shouldn't be used for any other purpose.
    Ray. 

  • Restore photo editor and video editor

    Can someone really help regain my photo and video editor on my nokia 700 after i have performed factory reset, my nfc tutorial, photo editor as well as video editor have vanished after using the back up.I love using thee apps on my phone, please i really need this help.

    have you tried reinstallnig the current firmware thru Nokia Suite on PC? also check that those editors haven't moved into the Gallery section of your device.

  • Enhance Req: ADF BC Assoc and Link editor

    Hi JDev team
    I'd like to raise the following enhancement requests please for JDev 11g TP.
    For both the ADF BC Association and Link editor, to view the Relationship you need to click on the Relationship category. Seems to me 9 times out of 10 when you access these objects you want to see the relationship. I'd suggest the Relationship information needs to be under the General category as part of the default view.
    Can you raise an enhancement request for this please.
    Also, for the Association editor, to view the properties of the association, you need to click on the Relationship category, Accessors editor button, and then in the Association Properties dialog you see the association properties (eg. Implement Cascade Delete etc). This seems unnecessarily hidden too deeply.
    Can you raise an enhancement request to promote these options to the editor rather than in this dialog please.
    Thanks & regards,
    CM.

    Filed ER for the first one (#6121857)
    The 2nd one has already been implemented post-JavaOne Tech Preview. There is a "Behavior" section on the Relationship panel now with those options accessible.

  • Missing video and photo editor apps

    hi , I'm jishnu and I'm writing this here very sadly. I restored my 603 , I used delete and restore option. My 603 is now runnin on belle fp2 . I restored two time with the same option but with belle fp1 . How to get back those apps. Even the gallery pluggins for editing are not much useful

    My phone is running on Belle FP2,,!! Once i hard resetted my phone, and after that the photo editor and video editor disappeared from the menu....!!! A few months later I installed an Iphone simulator app...,,,, (this is the link)...
    http://www.mediafire.com/?7ww5c06kzyxz76c
    in which both editors appear!! So, wenever i want to edit pics and videos, i launch this app!!!
    Hope this helps!! .....

  • I am using Elements 13 and photoshop editor has stopped working can you help

    I am using Elements 13 and photoshop editor has stopped working can you help

    hi Andaleeb sorry to hijack Stephanie's thread!
    I don't get any crash reports, it starts to open then just stops, nothing happens. ive tried getting in through the organiser but that doesn't work either.
    I think my laptop is Windows 8 (its a fairly new laptop, does that sound about right?)
    it was working Saturday I'm quite new to using it so no real workflow, just playing around with effects. ive only had it about a month
    Thanks
    Natalie

  • UIX drag and drop editor for OAF?

    I posted the following question on the OAF forum, was told it might make more sense to do in the JDeveloper forum:
    I've been told there is a "drag and drop" editor for UIX which can be used with OAF. Is that correct? I am using the following with EBS 11.5.10:
    OA Framework Version 11.5.10.4RUP.
    MDS Version 9.0.5.4.89 (build 555)
    UIX Version 2.2.24
    BC4J Version 9.0.3.13.93
    If there is such an editor, where can I get it, and how do I install it?

    Shay, thanks for the response.
    I have not written any ADF code outside of the course I took a few months ago, but I'm aware of how powerful it is. My question has to do with using the same toolkit or something similar to create and/or modify OAF pages. My customer is using EBS 11.5.10, and as such is using JDeveloper 9.0.3.5. If I can show how to use ADF with EBS, even if it is in R12, I might be able to convince the customer to use ADF. However, any application we develop must work along with the rest of the EBS, so that means we must use the same security mechanism (responsibilities, menus, etc.).
    Currently, to my knowledge at least, there is nothing as simple as your demo which can be done with OAF. There is no drag and drop capability, unless I've missed something.
    Any comments?

  • Burning software is no longer found in Itunes, I have done the reinstall and registry editor what's left?

    burning software is no longer found in Itunes, I have done the reinstall and registry editor what's left?

      Microsoft Windows 7 x64 Home Premium Edition Service Pack 1 (Build 7601)
    Hewlett-Packard p6-2120
    iTunes 11.0.1.12
    QuickTime 7.7.3
    FairPlay 2.2.32
    Apple Application Support 2.3.2
    iPod Updater Library 10.0d2
    CD Driver 2.2.3.0
    CD Driver DLL 2.1.3.1
    Apple Mobile Device 6.0.1.3
    Apple Mobile Device Driver 1.63.0.0
    Bonjour 3.0.0.10 (333.10)
    Gracenote SDK 1.9.6.502
    Gracenote MusicID 1.9.6.115
    Gracenote Submit 1.9.6.143
    Gracenote DSP 1.9.6.45
    iTunes Serial Number 001DBB400B063028
    Current user is not an administrator.
    The current local date and time is 2013-01-31 15:06:09.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is not supported.
    Core Media is supported.
    Video Display Information
    Advanced Micro Devices, Inc., AMD Radeon HD 6530D Graphics
    (Standard display types), Standard VGA Graphics Adapter
    **** External Plug-ins Information ****
    No external plug-ins installed.
    Genius ID: cba6a1567ef4178da2d3f57271416f40
    iPodService 11.0.1.12 (x64) is currently running.
    iTunesHelper 11.0.1.12 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    **** CD/DVD Drive Tests ****
    No drivers in LowerFilters.
    No drivers in UpperFilters.
    Failed loading CD / DVD drives, error -43. Try doing a repair install on iTunes from the "Add or Remove Programs" control panel.
    Error Correction is turned on for importing audio CDs.
      Microsoft Windows 7 x64 Home Premium Edition Service Pack 1 (Build 7601)
    Hewlett-Packard p6-2120
    iTunes 11.0.1.12
    QuickTime 7.7.3
    FairPlay 2.2.32
    Apple Application Support 2.3.2
    iPod Updater Library 10.0d2
    CD Driver 2.2.3.0
    CD Driver DLL 2.1.3.1
    Apple Mobile Device 6.0.1.3
    Apple Mobile Device Driver 1.63.0.0
    Bonjour 3.0.0.10 (333.10)
    Gracenote SDK 1.9.6.502
    Gracenote MusicID 1.9.6.115
    Gracenote Submit 1.9.6.143
    Gracenote DSP 1.9.6.45
    iTunes Serial Number 001DBB400B063028
    Current user is not an administrator.
    The current local date and time is 2013-01-31 15:06:09.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is not supported.
    Core Media is supported.
    Video Display Information
    Advanced Micro Devices, Inc., AMD Radeon HD 6530D Graphics
    (Standard display types), Standard VGA Graphics Adapter
    **** External Plug-ins Information ****
    No external plug-ins installed.
    Genius ID: cba6a1567ef4178da2d3f57271416f40
    iPodService 11.0.1.12 (x64) is currently running.
    iTunesHelper 11.0.1.12 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    **** CD/DVD Drive Tests ****
    No drivers in LowerFilters.
    No drivers in UpperFilters.
    Failed loading CD / DVD drives, error -43. Try doing a repair install on iTunes from the "Add or Remove Programs" control panel.
    Error Correction is turned on for importing audio CDs.
      Microsoft Windows 7 x64 Home Premium Edition Service Pack 1 (Build 7601)
    Hewlett-Packard p6-2120
    iTunes 11.0.1.12
    QuickTime 7.7.3
    FairPlay 2.2.32
    Apple Application Support 2.3.2
    iPod Updater Library 10.0d2
    CD Driver 2.2.3.0
    CD Driver DLL 2.1.3.1
    Apple Mobile Device 6.0.1.3
    Apple Mobile Device Driver 1.63.0.0
    Bonjour 3.0.0.10 (333.10)
    Gracenote SDK 1.9.6.502
    Gracenote MusicID 1.9.6.115
    Gracenote Submit 1.9.6.143
    Gracenote DSP 1.9.6.45
    iTunes Serial Number 001DBB400B063028
    Current user is not an administrator.
    The current local date and time is 2013-01-31 15:06:09.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is not supported.
    Core Media is supported.
    Video Display Information
    Advanced Micro Devices, Inc., AMD Radeon HD 6530D Graphics
    (Standard display types), Standard VGA Graphics Adapter
    **** External Plug-ins Information ****
    No external plug-ins installed.
    Genius ID: cba6a1567ef4178da2d3f57271416f40
    iPodService 11.0.1.12 (x64) is currently running.
    iTunesHelper 11.0.1.12 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    **** CD/DVD Drive Tests ****
    No drivers in LowerFilters.
    No drivers in UpperFilters.
    Failed loading CD / DVD drives, error -43. Try doing a repair install on iTunes from the "Add or Remove Programs" control panel.
    Error Correction is turned on for importing audio CDs.

  • ASM and CRS in 11gR2, chicken egg dilemma solved ?

    Hi it seems, that the chicken egg dilemma in terms of ASM and CRS was solved in 11gR2. To start ASM in RAC, CRS needs to be running first. However in 11gR2 the OCR is stored in ASM. So to start CRS, ASM needs to be available beforehand. The same is with ASM. The ASM spfile is stored in ASM. Thus to start the ASM instance, ASM needs to be available first. I understood the trick used for the voting disks (more or less any other clusterware does). However I could not find any explanation how the above chicken egg dilemma was sorted out in 11gR2. There must be a way to access the ASM in 11gR2 by bypassing the ASM instance. Is this trick also related ti the new kernel modules like ACFS is ? Can anybody provide a little information here ?
    Regard, Marc

    Thanks for your answer.
    Those services are disabled, and I've found this one on MOS FAQs :
    With Oracle Clusterware 11g Release 2, the GSD resource will be disabled by default. You only need to enable this resource if you are running Oracle 9i RAC in the cluster.

  • Manage agent and  Crs resource with OEM

    Hello,
    through OEM and agent I can monitor the situation of a lot of crs resource:
    Scan, Database, Instance, Listener.
    I don't understand how it's possibile to monitor and control application like
    the agent itself and crs resource that I have create for control filesystem or application.
    There is a way to do this?
    Thanks in advance
    D.
    Configuration
    Rac 11g r2 solaris sparc
    oem 10g solaris sparc.

    You question:
    I don't understand how it's possibile to monitor and control application like
    the agent itself and crs resource that I have create for control filesystem or application.
    There is a way to do this?
    The agent yes, see my previous remark

  • UCCX v7 CRS Editor failing to start

    Hi,
    the cisco crs editor software on the srever is failing to open. The initialisation bar stops at initialising cluster manager at 51% hangs then the program closes after 3 minutes.
    If I try from a remote client I get an error message of
    java.io.IOException: Server returned HTTP response code: 500 for URL http://ipaddress/histRepWebSrvComp/histrepClientsServlet.
    It then tries to log in annonymously in stand alone mode but the program just closes.
    Any help to resolve this would be appreciated.

    I had the same issue with the CRS Editor after upgrading from version 5 to version 7.
    The problem I had was I was using the install of CRS Editor from version 5.
    If you go to the CRS webpage there is option in the "Tools" drop down for "Plug-ins".  Download the new CRS Editor installer there (I uninstalled the old version before installing the new version).  After performing that install I was able to pull up my CRS Editor window.
    HTH
    James

  • A query on Versions and Theme Editor

    Dear Friends,
    A query on Versions and Theme Editor?
    My working environment is as below:
    SAP NetWeaver Developer Studio Version: 2.0.18
    SAP J2EE Engine : 6.40 PatchLevel 111182.313
    SAP Portal : 6.0.18.1.0
    SAP KMC : 6.0.18.0.0 (NW04 SPS18)
    What is the my version compare to NetWeaver 2004s SPS nn?
    Is 6.0 stands for 2004s???
    Also, what is the compatible version of Theme Editor which I can use in my NWDS and portable on portal front?
    Please anybody provide me the clarity and help?
    Thanks in advance
    Lakshmikanthaiah

    check note 866472

  • My problem is a sudden loss of ability to get to PSE12 Organizer when I tried to load a saved scan. Had been using the Organizer and the Editor with no problems for several hours just before that.     Can not load the Organizer from the icon at the bottom

    My problem is a sudden loss of ability to get to PSE12 Organizer when I tried to load a saved scan. Had been using the Organizer and the Editor with no problems for several hours just before that.  
    Can not load the Organizer from the icon at the bottom of  Editor screen, from the icon on the MacBook Air dock (OS 10.10.2),  nor from the file in applications located with Finder.
    I have tried without success to access Organizer after turning off and on the scanner, turning off and on the computer, loading a fresh copy of PSE12 from the CD, and restoring default preferences.  I have searched on line for other options but not  found any. 
    Can you help me?

    Not Charge
    - See:    
    iPod touch: Hardware troubleshooting
    iPhone and iPod touch: Charging the battery
    - Try another cable. The cable for 5G iPod (lightning connector) seems to be more prone to failure than the older cable.
    - If a 5G iPod               
    Iphone 5 lightning port charging problem - SOLUTION!
    - Try another charging source
    - Inspect the dock connector on the iPod for bent or missing contacts, foreign material, corroded contacts, broken, missing or cracked plastic.
    - Make an appointment at the Genius Bar of an Apple store.
      Apple Retail Store - Genius Bar

Maybe you are looking for