Need to have cut command!

Hi.. Here i need to cut 2013.11.0,2.3.1,2.0.0,1.0 alone and need to put it in a text file using cut commands
<A4Client>rd-ec-fulfill-2013.11.0</A4Client>
<A4Client>rd-apra-pur-dom-2.3.1</A4Client>
<A4Client>rd-c3-aip-web-adm-2.0.0</A4Client>
<A4Client>rd-c3-fb-vb-fb-vb-1.0-POC</A4Client>
Here i use to get these stuff from a logfile using while loop,so i need a probably cut command which should satisfy all the scenarios

Perhaps it will be much easier to do the following:
$ cat infile.txt
<A4Client>rd-ec-fulfill-2013.11.0</A4Client>
<A4Client>rd-apra-pur-dom-2.3.1</A4Client>
<A4Client>rd-c3-aip-web-adm-2.0.0</A4Client>
<A4Client>rd-c3-fb-vb-fb-vb-1.0-POC</A4Client>
$ cat script1
#!/bin/bash
while read line; do
   line=${line#<A4Client>}
   line=${line%</A4Client>}
   line=$(echo $line | tr "-" "\n")
   for item in $line; do
      echo $item | grep '\.'
   done
done < infile.txt > outfile.txt
$ ./script1
$ cat outfile.txt
2013.11.0
2.3.1
2.0.0
1.0

Similar Messages

  • Does CC 2014 eliminate the need to have Final Cut Pro and/or Compressor installed to access Apple ProRes 422?

    Hello:
    Just today, I was working on a Mac system that does not have any of the applications that I would have expected to need to have installed in order to do more than just decompress movie files compressed with Apple ProRes 422.
    I was expecting to have to install Final Cut Studio 3, Final Cut Pro X, Compressor 4, and/or QuickTime 7 with the QuickTime Pro key; however, none of those applications are installed and I am able to create custom QuickTime Apple Pro Res422 Sequences in Premiere Pro as well as export using Apple ProRes 422.  After Effects and Adobe Media Encoder also show all the Apple ProRes variations.
    Does CC 2014 eliminate the need to have Final Cut Pro and/or Compressor installed to access Apple ProRes 422?  Is it something happening on the OS or QuickTime level that would affect CC or CS6 in the same way?
    I've done a web search, but haven't really come up with anything other than older articles about needing to have FCP installed (and I typically work on systems with Final Cut Studio 3 installed as well as CS6, CC, or CC 2014).  If more detailed information is available, it would be great to be able to read up on it.
    The system is a 21.5-inch iMac running Mac OS X 10.8.5, QuickTime Player 10.2, and Adobe Premiere Pro CC 2014 (8.0.0 - I know an update is available for PrPro, but it's not my system to make that change).
    Thanks in advance,
    Warren Heaton

    Hi Emil:
    I use ProRes all the time as well, but I have Final Cut Studio on my workstations.
    I had not come across MindPower009's YouTube video.  That explains how ProRes could be showing up without FCP or Compressor.
    So, the answer to my question would be, "No, CC 2014 does not eliminate the need to have Final Cut Pro and/or Compressor installed to access Apple ProRes 422; however, if you are willing to be in violation Apple's terms of use, you can install the ProRes codecs anyway."
    Even though MindPower009's YouTube video comments claim "FREE and LEGAL", it's clear from both the Apple download page and the ProRes codecs installer that Apple expects you to own at least one of their applications.
    Thanks again for the link!
    -Warren

  • Do I need to have Final Cut to run Motion?

    Hello guys,
    I understand that I can purchase Motion 5 (and Compressor 4) as stand alone applications, but I was wondering:
    Do I need to have Final Cut installed in order to run it?
    Just use it to create animated graphics, then export it as a self contained file and use it in any editing program.
    And I was also wondering if Motion 5 would run OK on a new iMac (27 inch one with NVIDIA GE FORCE GTX 775 card).
    Thank you so much for your feedback,
    Paul

    You do not need to have Final Cut installed to run Motion or Compressor.  Each app can run as a stand-alone. Some functionality is enhanced when running them in combination. Motion will run just fine on any current hardware.  You can always check the system requirments to know if the applications will run on a particular computer.
    http://www.apple.com/lae/finalcutpro/specs/
    http://www.apple.com/lae/finalcutpro/motion/specs/
    http://www.apple.com/lae/finalcutpro/compressor/specs/

  • Help urgently needed, I have installed Logic Pro 9, since then my Final Cut Pro X keep freezing. Anyone what is wrong and how to solve it? I desperately need help on this. Thanks

    Help urgently needed, I have installed Logic Pro 9, since then my Final Cut Pro X keep freezing. Anyone what is wrong and how to solve it? I desperately need help on this. Apple support says I have to pay £85 for to help me. Thanks

    Just a word of advice. Never ever use the word "urgent" on this forum

  • When I click on iPhoto icon I get a box that reads "The photo library needs to be upgraded to work with this version of iPhoto."  Whether I hit Quit or Upgrade the problem is not fixed.  Any suggestions?  Yes, I have tried Command Option iPhoto..no luck.

    When I click on iPhoto icon I get a box that reads "The photo library needs to be upgraded to work with this version of iPhoto."  Whether I hit Quit or Upgrade the problem is not fixed.  Any suggestions?  Yes, I have tried Command Option iPhoto..no luck.  I think I may have hit Upgrade the first time.  I really need this to be fixed ASAP.  Thanks for your help.

    Assuming iPhoto 09 or later:
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • Why export audio to movie command not visible and detect cuts command is not working in 64bit mode?

    Does anyone know why export to audio disappear from menu in 64bit mode?
    Why detect cuts command is not working well in 64 bit mode?
    I tested on several machines (brand-new iMac, brand-new MacPro with 10.8 OS, MacPro with 10.6.8),and everythig wotks in 32 bit mode. As I switch to 64 bit mode detect cuts only put one marker at the begening of film.
    I also noticed that Firewire output option in 64bit mode is not avaible.
    Is there a certain film format that I have to use to make it work? I tried DV PAL, but I had ther same result.
    Thanks a lot.

    Hi
    Those functions are not available when Logic is running in 64bit mode
    http://support.apple.com/kb/TS3171
    CCT

  • I have an "Command set ID" with value "A" in SPAD tansx with com. to transf

    Hello
    Does anyone knows how a device in "spad" transaction functions (in Unix)
    Under Access method"L:Print Locally Using LP/LPR") I have an Command set ID with value "A" .
    Under mentioned "command set" I have :
    "command to transfer data " set to " /usr/bin/cat &F >/usr/sap/planning/REMINDER&N.txt". What does that means.
    Does it mean any printout is copied to "/usr/sap/planning/REMINDER&N.txt" file? Also corrupted (not finished...) ones?
    what is the name of file under "/usr/bin/cat ". Is it always the same? is it copied in same format (what
    "&F >/" means?)?
    Thx in advance

    Hai,
    Command set id option in SAP helps to override the DEFAULT SAP parameter for the command that a print program should use to have a host spooler perform an output request.
    Default parameter is  rspo/host_spool/print.
    You can specifically give a command to your printer through this option, COMMAND SET ID.
    Here " /usr/bin/cat &F >/usr/sap/planning/REMINDER&N.txt" is the command which helps thr spooler to direct your output.
    /usr/bin -- is the directory under which it has all the commands for UNIX.
    /usr/bin/cat -- where 'cat' is a command, cat command reads one or more files and prints them to standard output. The operator > can be used to combine multiple files into one.
    &F Name of the file to be printed (with path specification).
    /usr/sap/planning/REMINDER&N.txt  -- is where you can find your output.
    You can even use /usr/bin/cp instead of usr/bin/cat here the former command copies to another file after the &F option.
    You can use any type of commands, please check the below link.
    Also you can use this command set option for Null printers were you dont need the printouts but only the spool. Here you can set the command as 'cp &F /dev/null' were the output is redireted to /dev/null path at the OS level.
    http://help.sap.com/saphelp_nw04/helpdata/EN/d9/4a8eb751ea11d189570000e829fbbd/frameset.htm
    Regards,
    Yoganand.V

  • I need to have OS 10.6.5 to read SDXC cards, but will my FCP 6.0.6 still run?

    Please help someone with minimal tech knowledge:  Apparently I need to have OS 10.6.5 to read SDXC cards (from my Panasonic GH-2) , but will my Final Cut Studio 6.0.6 still run on the upgraded OS? I paid £1000 for it it only 4 years agao and it would be a real shame to have to buy a new one! 
    Many thanks for any help.
    Dan.

    Final Cut Studio 2 applications (including FCP 6) will run perfectly well on 10.6.
    BTW, just to remind you that neither FCS 2 nor FCS 3 are supported any longer by Apple. So when you get a solid installation of FCS 2 on SL – after having run all your updates – take care good care of it.
    Russ

  • Do I need privilege exec level commands in router?

    Do I need privilege exec level commands in router if the user was setup in TACACS server with specific privilege exec already?
    The user is getting "Command authorization failed" error even was setup with "priv-lvl = 4" for TACACS server.
    If changed to AAA with local authentication then is fine without privilege exec level 4 commands in router.

    If you are using command authorization then privilage doesn't matter.
    Best way to set it up is to give all user priv lvl 15 and then define what all commands user can execute.
    Note : Having priv 15 does not mean that user will able to issue all commands.
    We will set up command authorization on acs to have control on users.
    This is how your config should look,
    aaa authentication login default group tacacs+ local
    aaa authorization exec default group tacacs+ if-authenticated
    aaa authorization commands 1 default group tacacs+ if-authenticated
    aaa authorization commands 15 default group tacacs+ if-authenticated
    aaa authorization config-commands
    aaa accounting commands 1 default start-stop group tacacs+
    aaa accounting commands 15 default start-stop group tacacs+
    Regards,
    ~JG
    Do rate helpful posts

  • Cut command??

    Is there a cut command in Mac???? i know there the Copy and Paste (apple+C or Apple+v))!!! i need to know how to cut????

    "Cut" does not work on files or folders (I only found this out recently). The reasoning is that it's dangerous because it is essentially a "delete" command except that the data is saved to the "clipboard". When invoked on a folder or file, if something were to happen before the data was "pasted" into it's new location, the data could be lost. Just a different way of thinking I guess....

  • Which version of IOS is required on Cisco 3640 to have Xconnect command?

    Hi,
    I want  to  to configure layer2 circuits on Cisco 3640 , If anybody can let me knowWhich version of IOS is required on Cisco 3640 to have Xconnect command?

    Hi Harold,
    I have a home lab having Cisco 3640, Cisco 2610 and Juniper J2320. I want to configure Layer-2 VPN/EoMPLS  between Juniper J2320 and Cisco device.
    Could you please guide me on these 2 below mentioned questions.
    1) Does Cisco 2610 supports Layer-2/EoMPLS with any IOS. If so what IOS should I have to support Layer-2/EoMPLS on 2610.
    2)Can you please confirm me that Cisco 2801 with IOS c2801-spservicesk9-mz.124-15.T9 will support Layer2/EoMPLS ?
    While researching on this I cam to know that only 2801 with IOS c2801-spservicesk9-mz.124-15.T9 can support this , but not sure , need your guidance.
    Based on your answer I will buy Cisco router 2801 for my Layer-2/EoMPLS setup.
    Regards
    Ranjeet

  • Cut command options

    Hi
    My log file contains following entries.
    How do i exclude the particular partition from the log file.
    cat diskspace.log
    ============
    /dev/vx/dsk/datadg01/sapdata1 22020096 21999698 19125 100% /oracle/ASM/sapdata1
    /dev/vx/dsk/datadg01/zone02-cdinst 40960000 40375764 548549 99% /zone/zone02/cdinst
    /dev/vx/dsk/datadg01/sapdata2 21504000 21494130 9257 100% /oracle/ASM/sapdata2
    /dev/vx/dsk/datadg01/zone02-sapdata1 10240000 9711511 495463 96% /zone/zone02/sapdata1
    /dev/vx/dsk/datadg01/zone02-sapdata3 20480000 18769985 1603144 93% /zone/zone02/sapdata3
    I want to exclude /dev/vx/dsk/datadg01/sapdata1 and /dev/vx/dsk/datadg01/sapdata2 .
    Is any cut command option can use here by specifying the paticular patition to exclude.

    The O/P may find this version a bit easier to maintain:
    egrep -v -e '^/dev/vx/dsk/datadg01/sapdata1' -e '^/dev/vx/dsk/datadg01/sapdata2' diskspace.logThe trick is that multiple {font:Courier}-e{font} options allow multiple search expressions performed in a logical OR, so any lines matching either pattern get elided.
    I've added single quotes around the args because the caret ({font:Courier}^{font}) is special in many shells. The square brackets are too, but I did not need them here.
    Can take a similar approach using sed(1), too.

  • Do we have a command to clear sql command prompt

    do we have a command to clear sql command prompt ??

    I faced one issue, that would like to share with you guys.
    Oracle: 10gR2
    OS: Win XP / 2003 / 2000
    C:\Documents and Settings\mamohiuddin.MYPC>sqlplus "/as sysdba"
    SQL*Plus: Release 10.2.0.1.0 - Production on Thu Mar 22 13:18:37 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to an idle instance.
    SQL> cl scr;
    C:\Documents and Settings\mamohiuddin.MYPC>
    Now a pop dialog box came and informed the following..
    Oracle SQL*PLUS has encountered a problem and needs to close. We are Sorry for the incovenience.
    Did you also face this issue ? If fixed how ? Is it Oracle problem or Windows Problem ?

  • I asked about simple drawing programs but should have specified it needs to have rulers, protractors and circle capabilities.

    I would like a drawing program for quilt design, but it needs to have ruler, protractor ( for angles), and circles. As the particular designs are circles cut into pie wedges, then wedges chopped up and small triangular shapes used to make spiral shape( clockwise, counterclockwise) . I appreciated the info I have already gotten, it was helpful but I need to narrow the list.Thank you.

    What list have you gotten?  I see no post history.

  • I need to have my authorizations reset for Digital Editions, but cannot contact anyone at Adobe.

    I need to have my authorizations reset for Digital Editions, but cannot contact anyone at Adobe. Would like to purchase new devices for my reading, ubt need reset before I can.  How do I get in touch with someone at Adobe.  Everything on web site just goes in circles. 

    Adobe Live Chat: http://www.adobe.com/support/chat/ivrchat.html,
    or as a slight short cut try http://helpx.adobe.com/contact.html?product=digital-editions&topic=using-my-product-or-ser vice
    Click on 'I still need help' and then you should see 'Chat with an Agent' at the bottom of the page.
    'Ask our experts' will indeed just lead you back to this forum.
    Sometimes you will get ‘Sorry! All agents are busy— please check back soon.’
    Don’t refresh the page, just hang on and it should eventually go to ‘Chat Now, an agent is available’.
    They can reset your authorizations, and then you must reauthorize any devices you still need.
    (Unfortunately, Adobe haven’t got round to an admin website for viewing and editing authorizations.)
    Some of the representatives haven't been properly trained and don't know what to do (and claim there is nothing they can do);
    in that case the only way seems to be to give up that chat and try another session hoping for a properly trained representative.
    If your problem is with another device using Overdrive, Bluefire, Aldiko or similar third party app, it is recommended not to mention that app when on the chat, just mention that you have run out of authorizations  (E_ACT_TOO_MANY_ACTIVATIONS) .  Thanks to AJP_Bear for that tip.
     

Maybe you are looking for