How do I return a match across multiple lines in UNIX?

How do I return a match over multiple lines in UNIX?
For example, I want to return the contents within tags across two lines:
<tag>content content content
content content content</tag>

For the Perl example, how does the .. work?
Range Operator:
<http://www.perl.com/doc/manual/html/pod/perlop.html#Range_Operators>
...The operator is bistable, like a flip-flop, and emulates the line-range (comma) operator of sed, awk, and various editors. Each "..'' operator maintains its own boolean state. It is false as long as its left operand is false. Once the left operand is true, the range operator stays true until the right operand is true, AFTER which the range operator becomes false again....

Similar Messages

  • How do you share Aperture file across multiple users on same Mac?

    How do you share Aperture file across multiple users on same Mac? Seems this should be a preferences choice.

    When you share your library between users, you may run into permission and ownership problems, if both users are editing the Aperture library and not only reading it. To avoid that, it helps to put the Aperture library onto a separate disk or a separate partion of your hard drive. For s separate partition or disk you can enable the "ignore ownership on this volume" flag. Then all users can access the library as owners of this library.
    You might try to put the aperture library into a shared folder on your mac, but that has caused problems recently, i.e. when the library also contains video files.
    Regards
    Léonie

  • Matching across multiple character sets

    Would like to know whether anyone has attempted matching across multiple character sets, for example, between English and Japanese: what are the pitfalls to avoid, what are the best practices, and what you would like to see from application/tools perspective as an ideal solution. thanks

    If you upgrade to Logic Pro, you'll get WaveBurner as part of the package which helps you do this, including tweaking your pauses between tracks, fades etc.
    If you have Toast, you can do it there too.
    If you don't have any 3rd. party software, the work around would be to assemble all your songs in order, end to end in a new Logic file, and listen to all your tracks and adjust the relative levels between songs, then bounce out the individual tracks which have volume changes with their new volume settings. Finally you could then use any burning app such as [SimplyBurns|http://bit.ly/c1oglP] to create CDs or bounce them out in Logic with the additional .mp3 option.
    Obviously it's important to listen to your material in order, in context, as some songs will be at the wrong subjective level depending on the tracks either side in the placement. This isn't really important in digital distribution where your material probably won't be listened to as a whole, but as individual downloads.

  • ITunes match across multiple devices?

    Is it possible to use iTunes match across multiple devices?  My wife and I use the same computer when at home and we have music stored on that computer. She had her own Apple id to use with her own iPhone, as do I.  We don't want to have multiple music libraries since we liste to most of the same music.  Is it possible to have iTunes match between 2 iPhones that are using different Apple id's but the same iTunes account?
    Thanks

    When I try to go to iTunes music match on her phone it asks me to sign into match, which I am assuming is the same as her Apple ID name and password.  This is a different name and password than my account.  So, it seems that she cannot access my "cloud" from her phone in order to download music that I have purchased.  I guess since she has her own iClud account, she needs to sign up for iTunes match through that account and pay the fee.  I was hoping we could access the same 'Cloud" to have the same library of music? Hope that made sense.
    Thanks for the help.

  • How can I display selected tags across multiple e-mail addresses?

    I receive email on a specific topic but via several e-mail addresses. How can I view selected tags where the resulting e-mails span several (7) email addresses. They are all active on my Thunderbird, but as far as I know, I can only display the selected tag on one of them at a time.
    Any assistance greatly appreciated as this is a very big problem for me.
    thanks, Ron75

    This solution does not appear to work across multiple e-mail addresses.
    Perhaps I should have said "work across multiple e-mail address at the same time. I get e-mail on specific topics via several email addresses and wish to view all the tagged emails regardless of which email account in which they reside.
    I could not get this solution to select more than one email account at a time.

  • How to make an object distributed across multiple jres?

    Hi,
    We used cache data mechanism for performance tuning. It will store data in static variable (Hashtable) and get initialized when app starts . We are using IPlanet Application Server and
    Using 6 KJS engines. This object ( Hashtable) is not distributed across all JRES.It has to reinitialize data again when request goes to any other KJS.
    We avoid sharing data in session and request, as data is huge.
    Can any one help us how to make this object distributed across all KJSs?
    Thanks in advance.
    raj

    We used cache data mechanism for performance tuning.
    It will store data in static variable (Hashtable) and
    get initialized when app starts.
    We are using IPlanet Application Server and
    Using 6 KJS engines. This object ( Hashtable) is not
    distributed across all JRES. It has to reinitialize
    data again when request goes to any other KJS.
    We avoid sharing data in session and request, as data
    is huge.
    Can any one help us how to make this object
    distributed across all KJSs?When you say 'initialized when app starts' do you mean iPlanets StartUp classes, rather than the Servlets init() ? Given a 'huge' dataset, avoid the latter.
    I'd suggest that a better approach is to implement this as an Entity Bean and accessed from Session bean and using Value Objects to return the data subsets.
    Checkout the Java Pet Store
    http://java.sun.com/blueprints/code/jps13/datasheet.html

  • How do you Spread an Image across multiple pages and print?

    I'm trying to create a large poster to be put on a bulletin board. I've mangaed to spread the image across multiple pages but I can't figure how to be able to print the pages have the edges line up successfully after cropping. I've been playing with the bleed settings but can't figure it out. Here a shot of what im working with:
    Im working in CS3 on Mac OS X

    Create your InDesign document at your final size and when you print it out put a check mark in the box for Tile

  • How do I set up imessage across multiple devices

    I am trying to link my phone mobile number and my apple ID to the same imessage account, so I can text across multiple devices.

    In addition to Amy's comment, set the Caller ID on your phone to the same email address that is associated with your apple ID (and which should be used on iMessage on your other devices).  This way the messages will stay synced across all devices.

  • How do i apply one gradient across multiple live paint objects??

    I need to apply a single gradient acros a number of live paint objects but am finding it annoyingly hard to find a way.  I know that normally, to apply a gradient across multiple objects, you would need to make them all into one compound path but does this apply to live paint groups in any way??  Can what i need to achieve actually be done??
    Thanks for any help given 

    1. With the Live Paint selection tool, shift-select those shapes you want to unify with a gradient.
    2. Fill this (multi-shape) selection with your gradient. Now each shape is filled separately.
    3. With the gradient tool, drag across all of the selected shapes.
    "Annoyingly hard." Is that different than "hard"?

  • Return Order Creation with Multiple Lines not possible - 7.0 to EHP3

    Hi Experts,
    We are facing an issue while creating Return Orders with external reference billing document post upgrade from CRM 7.0 to EHP3.
    While we select multiple line items from the external reference billing document and Create a return order, the very first line item gets repeated instead of all the line items getting copied to the subsequent view(BT120H_CPL/ItemList ).
    Please help.
    Thanks,
    Rohit

    >>. But is it possible in PI 7.0?
    Just few cents..
    Test using SOAPUI or  XMLSPY and use that same WSDL URL in the target URL of Communication channel. Just to make sure you use the right endpoint.
    or
    You can specify the method name as  soap action dynamically using udf in mapping and see how it behaves.

  • How can I change the length of multiple lines at the same time?

    This just seems like it should be a no-brainer, but obviously for me it isn't.  I'm trying to change the length of multiple lines, that are at different angles, at the same time, in CS4.  Basically, I design the face of dials used for airplane instrument gauges (like RPM, Torque, etc), and they have gradiation marks (lines) located all around, similar what a clock looks like with the hour and minute gradiation marks (lines).  Is there a way to select all the lines, that I know are the same length, and change it to a different length, that's accurate to the 1/100th of an inch?  It would just be like selecting multiple lines that have all the same stroke, then using the stroke box to change the stroke weight from .025in to .030in.
    I've used the transform box to change the 'height' of a line before, but the line has to be at 90 degrees (straight up and down), and that won't work for the lines that are at, say, a 45 degree angle.
    I hope i'm explaining this in a way that someone will understand. If not, I can sure try to clarify more, or insert the picture so you could see what i'm talking about.
    Thanks for any help you can give!

    OK, after fiddling around with everyone's ideas, I think I finally got it. I knew there had to be something with proportions between W and H, but couldn't figure out the math, until Jacob answered with:
    "If each line must be strecthed from the inner/outer end, you may select each and use the Transform palette, choosing the right Reference Point, multiplying by the proportion in W or H (1.75/1.5), and Ctrl/Cmd clicking."
    Now, I basically did everything above, (but I couldn't figure out what you were talking about with the Ctrl Clicking thing), except after figuring out the right proportion (which ends up being so small you guys would die if I told you the number; the numbers I gave earlier were just an example and much larger than what i'm really working with) I just clicked the little chain next to the W and H boxes to constrain the proportions. I then put the new number (multiplied proportion by whatever was in W) in the W box. The line lengthened perfectly toward the center of the dial, keeping the correct angle!
    And Harron-Thanks for the link to Teri's, It is going to help with some things I do, but most of the dials I design don't have equal distances between each gradiation mark, and the blueprints I work off of usually have exactly what distances that the grad. marks are supposed to be. So, after selecting one of my grad marks that is already at it's correct place, I then use the rotate tool and Alt-Clicking the very center of the dial, I can then put in exactly what distance I want the next grad. mark to be at, I hit copy (instead of OK) and there will be a new grad. mark exactly the correct distance from my original. Then if I want to have the 3rd grad. mark I just hit Ctrl-D and it will copy another mark to the next position. I don't know if you necessarily wanted to know all that, but i thought i'd explain why I like doing it that way.
    A BIG thanks to everyone! I'm really a AI newbie and am the only one at my company that knows how to use it, so I don't have anyone close to ask stupid questions to. So I appreciate all your help!

  • Return Order Creation with Multiple Lines not possible - EHP3

    Hi Experts,
    We are facing an issue while creating Return Orders with external reference billing document post upgrade from CRM 7.0 to EHP3.
    While we select multiple line items from the external reference billing document and Create a return order(BT120H_CPL/NewComplEF ), the very first line item gets repeated instead of all the line items getting copied to the subsequent view(BT120H_CPL/ItemList ).
    Please help.
    Thanks,
    Rohit

    I hope you have tried.If not can you  please try with  below qualifier
    '015' Billing Document Number of Invoicing Party
    Provide the billing document EEDK02-BELNR.
    Also give qualifier at item level
    E1EDP02 : use Qualifier =15
    Provide the Billing document number at E1EDP02_BELNR and item at ZEILE.
    I am not sure what is error you are getting when you are referencing billing document.If something STD Idoc  is not working as you expected use your custom logic to bring the data when you are posting the Idoc.
    I have not worked on sales order process,But I have worked on Purchase Order creation process.
    Please let me know the error ,If i know the error i will defiantly help you.

  • How to make a Input Field with multiple lines?

    hey folks,
    i need to make a popup window or a dynpro with 2 input fields, where the user can write on multiple lines. why isnt there such an input field in the screen painter? how can i make this? if i can do this with a dynpro it would be nice but a popup with that feature would be better. didnt found any infos anywhere except for that thread, but its answer didnt work with my dynpro:
    How to make a input/output field with multiple lines
    thx for any helping answer

    i made it just like in that thread but there is an error message telling that gv_custom_container is not declared.
    *  MODULE status_0110 OUTPUT
    MODULE status_0110 OUTPUT.
      CREATE OBJECT custom_container
        EXPORTING
          container_name              = 'TEXT_CONTROL'
        EXCEPTIONS
          cntl_error                  = 1
          cntl_system_error           = 2
          create_error                = 3
          lifetime_error              = 4
          lifetime_dynpro_dynpro_link = 5.
      CREATE OBJECT text_editor
        EXPORTING
          parent                     = gv_custom_container
          wordwrap_mode              = cl_gui_textedit=>wordwrap_at_windowborder
          wordwrap_to_linebreak_mode = cl_gui_textedit=>false
        EXCEPTIONS
          error_cntl_create          = 1
          error_cntl_init            = 2
          error_cntl_link            = 3
          error_dp_create            = 4
          gui_type_not_supported     = 5.
      SET PF-STATUS 'STATUS_0110'.
      SET TITLEBAR 'TITLE'.
    ENDMODULE.                    "status_0110 OUTPUT
    Edited by: rafe b. on Oct 26, 2009 2:56 PM

  • How to program voicemail prefix, night service,multiple-line appearance on BE3K?

    Hi All,
    A few questions about BE3K as below : 
    1.    What’s the default prefix  for voicemail  in BE3K ?  or how to program prefix for voicemail in BE3K ?
    In UC500, we can manually program  a prefix number or code  such as “6”  , then dial "6" + extension to access to that extensions' voicemail  from any subscribed phone. We often use this "voicemail code + extension"  as night switch VM.
    2.    How to program night service/schedule in BE3K?
              I understand there is  day/night service on Auto Attendant setting what if customer dosen't  want caller to hear any AA greeting or option 1, 2, 3 , most of  customers just simply want to caller reach a hunt group during the day and a voicemail greeting during the night ( again, how to program night switch VM?)
    3.    How to program multiple - line appearance on BE3K ?
    You are more than welcomed to give answers or point me to right direction 

    Billy,
    On 3....
    A user can "own" multiple lines. These are provisioned on the user page. (Note that this is not required to have multiple lines on a phone, but is a way to assign multiple lines to a user if that is desired when sharing lines on a phone.)
    One the phone configuration page, just keep adding more lines to the phone in the "extensions" area.
    When adding more lines to a phone, if you enter the same extension multiple times, then the phone enters a "roll-over" mode. In this mode, each line (of the same extension) will only allow one call. The next call then appears on the next line on the phone of that extension. Some customers prefer this mode of behavior.
    When using roll-over mode, be sure to take into account any other phone that shares that extension. You'll want both phones to be in roll-over mode. If one phone is in multi-call mode for that extension (the extension appears on the phone only once), and another phone has the same extension in roll-over mode (the extension appears more on the phone more than once), then while both phones will ring with the first call, only the first phone (mult-call mode) will ring if a second simultaneous call arrives. This is because in roll-over mode, the second phone cannot handel the second call, and wants to forward it to the next line appearance. However, the first phone (multi-call mode) can handle the call on that line. So, the second call is offered to that phone without forwarding to the next line appearance.
    If you want to mix these two modes, configure two phones with the same line (shared line) and setup the two phones differently, one in roll-over mode, and the other with just one line appearance. Then, use other phones to call that extension so that you can experiance the behavior first hand. It can be a bit confusing to get a problem report from one of your end users because of this missconfiguration. Seeing it first hand will help you recognize if you ever accidentally enter this configuration. This missconfiguration cannot be prevented as you pass through it when assigning lines to phones. However, the GUI does not warn you that you are in this configuration.

  • How to create a view to display Multiple lines of Text using ABAP WebDynpro

    Hi,
    I need to create a static view page in ABAP WebDynpro that displays Static text data in multiple paragraphs. I tried to use textview, formatted text, text edit controls by binding the textcontrol to a text object that is created in so10, but the output I am getting is only one line and the character count is limited to 60 to 65 characters.
    I would like to know which control needs to be used in ABAP Webdynpro to get multiple lines displayed with text formatting like Paragraph, Indenting and Size.....
    Thanks for your time!
    Madhavi.

    Find the sample codes:
      data sapscript_lines     type tlinetab.
      data sapscript_lines1     type tlinetab.
      data sapscript_tline     type tline.
      data sapscript_head      type thead.
      data text                type string.
      data formatted_text type ref to cl_wd_formatted_text.
      call function 'DOCU_GET'
        EXPORTING
          id                = 'TX'
          langu             = 'D' "Germany language
          object            = 'WDR_TEST_HELP_EXP1'
        IMPORTING
          head              = sapscript_head
        TABLES
          line              = sapscript_lines
        EXCEPTIONS
          no_docu_on_screen = 1
          no_docu_self_def  = 2
          no_docu_temp      = 3
          ret_code          = 4
          others            = 5.
      if sy-subrc <> 0.
        text = space.
      endif.
      formatted_text = cl_wd_formatted_text=>create_from_sapscript(
        sapscript_head  = sapscript_head
        sapscript_lines = sapscript_lines
      " set it into the context
      if Not ( formatted_text is initial ).
        wd_context->set_attribute(
        name  = 'FORMATTED'
        value = formatted_text->m_xml_text ).
      endif.
    clear sapscript_head.
    clear sapscript_lines.
    *Get the text created by SO10
    CALL FUNCTION 'READ_TEXT_INLINE'
      EXPORTING
        ID                    = 'ST'
        INLINE_COUNT          = 1
        LANGUAGE              = 'E' "English language
        NAME                  = '85XX_FOOTER'
        OBJECT                = 'TEXT'
      LOCAL_CAT             = ' '
    IMPORTING
       HEADER                = sapscript_head
      TABLES
        INLINES               = sapscript_lines1
        LINES                 = sapscript_lines
    EXCEPTIONS
      ID                    = 1
      LANGUAGE              = 2
      NAME                  = 3
      NOT_FOUND             = 4
      OBJECT                = 5
      REFERENCE_CHECK       = 6
      OTHERS                = 7
      formatted_text = cl_wd_formatted_text=>create_from_sapscript(
        sapscript_head  = sapscript_head
        sapscript_lines = sapscript_lines
      " set it into the context
      if Not ( formatted_text is initial ).
        wd_context->set_attribute(
        name  = 'FORMATTED1'
        value = formatted_text->m_xml_text ).
      endif.

Maybe you are looking for