Is there a script,Can automatically perform multiple grep expression?

For Example,I have 5 grep,they are a.xml,b.xml,c.xml,d.xml,e.xml.
Usually,I need execute 5 times.
A script can once finish the 5 Grep?
Thank you~

Hello,
Have a look at XStrings.
http://www.kerntiff.co.uk/free-stuff/xchange-strings-xstrings
The script can perform multiple greps, finds, and can run a script file.
Best.
P.

Similar Messages

  • Is there a script to automate NBAR Protocal pack download from CCO

    is there a script to automate NBAR Protocal pack download from CCO ?

    I do not know of one.  It may be challenging to build one, too.  While there is an HTTP API built into EEM Tcl, it supports HTTP only.  I believe accessing the NBAR protocol packs would require HTTPS?  If it can be done with a clear text protocol like HTTP or FTP, we could build a script to automate the process.

  • I have qualitynet either wired internet. I buy a card good for a month at a time, I can only log into one device at any one time.  Are there settings I can adjust on my airport express to allow all my devices to connect to wi-fi without having to log out.

    I have qualitynet either wired internet. I buy a card good for a month at a time, I can only log into one device at any one time.  Are there settings I can adjust on my airport express to allow all my devices to connect to wi-fi without having to log out of one devise before using another?

    Some Internet providers that limit access to a single device at a time do so by the device's hardware MAC address. If your ISP is one of those, you may be able to substitute the MAC address of your AirPort Express base station for the computer. I would suggest that you contact them to find out if this is allowable.

  • Is there a script that automates mail:to links and hyperlinks?

    In a nutshell, maybe this was already done.  I searched the forum, but cant say I found what I was looking for.
    Jim Simon can be reached at [email protected]  Jim Simon work's gallery can be found at www.jsgallery.com.   Basic stuff like this.

    Automate Creation of Hyperlinks
    An InDesign CS2 JavaScript. Put it into the "Version 4.0 Scripts" folder to make it work in up-to-date versions of InDesign.
    Finds a string in text and creates a hyperlink based on the contents of the string. This script employs a hybrid approach to finding and changing text, using both JavaScript regular expressions and InDesign's search method.

  • How can I connect multiple airport express to airport extreme?

    I have an Airport Extreme that is connected to my cable modem. I have 3 Airport Express that I would like to connect to the extreme to extend the signal in my home. I was able to connect 1 but I have been unable to successfully connect the other 2.
    Can anyone tell me how o accomplish this?
    Thanks

    Power off all four AirPorts in any order that you want
    Wait a minute, then power up the AirPort Extreme
    Wait another minute and power up the AirPort Express that is working
    Move the other two Express devices to the same room or close proximity to the AirPort Extreme
    Power up one Express for a minute or two and leave the other Express off for now
    Hold in the reset button on the back of the Express for 10 seconds and release
    Allow a full minute for the Express to restart to a slow, blinking amber light status
    Click the WiFi icon at the top of the Mac's screen
    Look for a listing of New AirPort Base Station
    Just below that, click on AirPort Express
    That will start up the setup wizard. It will take minute to analyze things and then suggest that the Express be configured to extend the AirPort Extreme network.
    Enter a short simple name to call the Express, something like Express2 for example, and click Next
    The utility will set thing up for you. When you see the message of Setup Complete, click Done
    Now move the Express upstairs and power it up. If the signal must pass through a ceiling, that is a tough assignment, since the ceiling is likely absorbing about half of the signal going through
    Report on your results

  • Is it possible to perform multiple RECOVER DATABASE UNTIL TIME ?

    Hi,
    Can I perform multiple roll forwards of transactions on a hot backup of a database?
    I want to make a copy of my live oracle database to use on a temporary test server.
    I intend to copy the hot backup and transaction logs onto the test server and then roll forward to a certain point in time.
    My question is: Can I do multiple roll forwards with the instruction
    RECOVER DATABASE UNTIL TIME
    when I don't start the database after the first time I rolled forward?
    Regards,
    Pasquale

    If you are on 10g and are collecting flashback logs you can flashback a database backwards, open the database read only to look around, and then flashback backwards/forwards until you open the database resetlogs to finalize the flashback.
    -J

  • Multiple airport express's

    Can i have multiple airport expresses acting as range extenders on the same network?

    Yes, if you remember that they all must connect to the "main" base station.
    Apple's extend a wireless network feature works like the hub and spokes of a wheel. Your AirPort Extreme would be the "hub" and each AirPort Express would reside at the end of a separate "spoke".
    Each AirPort Express only communicates to the hub....not to another Airport Express at the end of another spoke.....so it is important that the AirPort Express devices be located about the same distance from the hub....and....that they are closer to the hub than they are to another AirPort Express.

  • Is there a way to give two different regular expressions in a Grep command?

    I am trying to search message logs from CLI. My search query which involves a regular expression is giving thousands of results. We need to further filter the results using another regular expression. Please let me know if we can put two regular expressions in the search query.
    Below is how I use grep command: Can I use multiple regular expression separated by a "|" (pipe) symbol
    Enter the regular expression to grep.
    []> MID 123456

    No - unfortunately - from the CLI on the ESA/SMA - the 'grep' command is not as intuitive as the unix/linux 'grep'.  You would need to push logs off appliance, and then take advantage of an external OS in order to parse through the logs as definitively needed.
    -Robert
    (*If you have received the answer to your original question, and found this helpful/correct - please mark the question as answered, and be sure to leave a rating to reflect!)

  • Can I install final cut express 2 on Panther 910.3.4

    Hi there,
    Long time, Can I install final cut express 2 on Panther 910.3.4
    Thanks
    Fabricio

    Hi Fabricio,
    I assume you have 10.3.4 and not 910.3.4 on the machine you want to install it on? If so, here are the system requirements I see for it:
    Final Cut Express 2.0.2
    System Requirements
    * Macintosh computer with a 350MHz PowerPC G4 or G5 processor and AGP graphics card.
    * RT Extreme requires a 500MHz PowerPC G4 (550MHz for PowerBook G4) or G5 processor
    or any dual PowerPC G4 or G5 processors.
    * Mac OS X v10.2.5 or later.
    * QuickTime 6.4 or later.
    * 384MB of RAM (512MB required for RT Extreme).
    * 40MB of available disk space required for installation.
    hope that helps some,
    LS

  • HT1515 multiple airport express output to amp

    can i use multiple airport express's as ap's and have only the one near my amp output my streaming music through the amp from anywhere on that network even if it is connecting to one of the other airport express ap's?

    can i use multiple airport express's as ap's
    If by "ap's" you mean Wireless Access Points, then the answer is yes.
    and have only the one near my amp output my streaming music through the amp from anywhere on that network
    Yes.
    even if it is connecting to one of the other airport express ap's?
    It would matter how they are interconnected. If you are referring to a "roaming" or "extended" network, then again the answer is yes.

  • Is there a script that it can make Overflow text automatically routed Next?(Not the main text frame)

    Is there a script that it can make Overflow text automatically routed Next?(Not the main text frame)
    when I run the scrip,Overflow text can auto Typesetting to the next page?
    thankS Supreme~

    Here's the script I use. Notice the complications getting the live area when other than rulers per spread is employed. The script automatically selects the final selection point in the story and moves to that page in the active window.
    //DESCRIPTION: Autoflow selected overset story
    (function(){
              if (app.documents.length > 0
                                  && app.selection.length == 1
                                  && app.selection[0].hasOwnProperty("parentStory")
                                  && app.selection[0].parentStory.overflows) {
                        app.doScript(fixOverset, undefined, app.selection[0].parentStory, UndoModes.entireScript, "Fix Overset");
              } else {
                        alert("There must be a selection that identifies the overset story.");
              function fixOverset(story) {
                        while (story.overflows) {
                                  var aDoc = story.parent;
                                  var lastTF = story.textContainers.pop();
                                  var lastPage = lastTF.parentPage;
                                  if (lastPage instanceof Page == false) {
                                            alert("Story ends on pasteboard; no action taken.");
                                            return;
                                  var master = lastPage.appliedMaster;
                                  var newPage = aDoc.pages.add(LocationOptions.after, lastPage);
                                  newPage.appliedMaster = master; // may not be necessary
                                  var liveArea = getLiveBounds(newPage);
                                  var newTF = newPage.textFrames.add({geometricBounds : liveArea, layer : lastTF.itemLayer});
                                  newTF.previousTextFrame = lastTF;
                                  if (newTF.insertionPoints.length == 0
                                                      && lastTF.insertionPoints.length == 0) {
                                            // allows for paragraph style with startParagraph on specific page side
                                            alert("Story is permanently overset.");
                                            return;
                        selectIt(story.insertionPoints[-1]);
              function getLiveBounds(page) {
                        var rO = page.parent.parent.viewPreferences.rulerOrigin;
                        var bounds = page.bounds;
                        if (rO == RulerOrigin.spreadOrigin) return returnBounds(page, bounds);
                        var width = bounds[3] - bounds[1];
                        if (rO == RulerOrigin.spineOrigin &&
                                            (page.side == PageSideOptions.leftHand ||
                                                      (page.side == PageSideOptions.rightHand &&
                                                                page.parent.pages.length > 1)) ||
                                  (rO == RulerOrigin.pageOrigin &&
                                            page.side == PageSideOptions.rightHand &&
                                                      page.parent.pages.length > 1)) {
                                            bounds[1] = bounds[1] - width;
                                            bounds[3] = bounds[3] - width;
                        return returnBounds(page, bounds);
                        function returnBounds(page, bounds) {
                                  return [
                                            page.marginPreferences.top,
                                            page.side == PageSideOptions.leftHand ?
                                                      bounds[1] + page.marginPreferences.right :
                                                      bounds[1] + page.marginPreferences.left,
                                            bounds[2] - page.marginPreferences.bottom,
                                            page.side == PageSideOptions.leftHand ?
                                                      bounds[3] - page.marginPreferences.left :
                                                      bounds[3] - page.marginPreferences.right
               function selectIt(theObj) {
                        var myZoom = app.activeWindow.zoomPercentage;
                        app.select(theObj);
                        app.activeWindow.zoom(ZoomOptions.fitPage);
                        app.activeWindow.zoomPercentage = myZoom;

  • My MacBook Pro is running very slow is there anything I can do to improve the performance?

    Is there anything I can do to improve the speed of my MacBook Pro?

    Kappy's Personal Suggestions About OS X Maintenance
    For disk repairs use Disk Utility.  For situations DU cannot handle the best third-party utility is: Disk Warrior;  DW only fixes problems with the disk directory, but most disk problems are caused by directory corruption. Drive Genius provides additional tools not found in Disk Warrior for defragmentation of older drives, disk repair, disk scans, formatting, partitioning, disk copy, and benchmarking. 
    Four outstanding sources of information on Mac maintenance are:
    1. OS X Maintenance - MacAttorney.
    2. Mac maintenance Quick Assist
    3. Maintaining Mac OS X
    4. Mac Maintenance Guide
    Periodic Maintenance
    OS X performs certain maintenance functions that are scheduled to occur on a daily, weekly, or monthly period. The maintenance scripts run in the early AM only if the computer is turned on 24/7 (no sleep.) See Mac OS X- About background maintenance tasks. If you are running Leopard or later these tasks are run automatically, so there is no need to use any third-party software to force running these tasks.
    If you are using a pre-Leopard version of OS X, then an excellent solution is to download and install a shareware utility such as Macaroni, JAW PseudoAnacron, or Anacron that will automate the maintenance activity regardless of whether the computer is turned off or asleep.  Dependence upon third-party utilities to run the periodic maintenance scripts was significantly reduced after Tiger.  (These utilities have limited or no functionality with Snow Leopard, Lion, or Mountain Lion and should not be installed.)
    Defragmentation
    OS X automatically defragments files less than 20 MBs in size, so unless you have a disk full of very large files there's little need for defragmenting the hard drive except when trying to install Boot Camp on a fragmented drive. But you don't need to buy third-party software. All you need is a spare external hard drive and Carbon Copy Cloner.
    Cheap and Easy Defragmentation
    You will have to backup your OS X partition to an external drive, boot from the external drive, use Disk Utility to repartition and reformat your hard drive back to a single volume, then restore your backup to the internal hard drive. You will use Carbon Copy Cloner to create the backup and to restore it.
      1. Get an empty external hard drive and clone your internal drive to the
           external one.
      2. Boot from the external hard drive.
      3. Erase the internal hard drive.
      4. Restore the external clone to the internal hard drive.
    Clone the internal drive to the external drive
      1. Open Carbon Copy Cloner.
      2. Select the Source volume from the left side dropdown menu.
      3. Select the Destination volume from the left side dropdown menu.
      4. Be sure the Block Copy button is not depressed or is ghosted.
      5. Click on the Clone button.
    Destination means the external backup drive. Source means the internal startup drive.
    Restart the computer and after the chime press and hold down the OPTION key until the boot manager appears.  Select the icon for the external drive and click on the upward pointing arrow button.
    After startup do the following:
    Erase internal hard drive
      1. Open Disk Utility in your Utilities folder.
      2. After DU loads select your internal hard drive (this is the entry with the
           mfgr.'s ID and size) from the left side list. Note the SMART status of the
           drive in DU's status area.  If it does not say "Verified" then the drive is
           failing or has failed and will need replacing.  SMART info will not be
           reported  on external drives. Otherwise, click on the Partition tab in the
           DU main window.
      3. Under the Volume Scheme heading set the number of partitions from the
           drop down menu to one. Set the format type to Mac OS Extended
           (Journaled.) Click on the Options button, set the partition scheme to
           GUID then click on the OK button. Click on the Partition button and wait
           until the process has completed.
    Restore the clone to the internal hard drive
      1. Open Carbon Copy Cloner.
      2. Select the Source volume from the left side dropdown menu.
      3. Select the Destination volume from the left side dropdown menu.
      4. Be sure the Block Copy button is not selected or is ghosted.
      5. Click on the Clone button.
    Destination means the internal hard drive. Source means the external startup drive.
    Note that the Source and Destination drives are swapped for this last procedure.
    Malware Protection
    As for malware protection there are few if any such animals affecting OS X. Starting with Lion Apple has included built-in malware protection that is automatically updated as necessary.
    Helpful Links Regarding Malware Protection:
    1. Mac Malware Guide.
    2. Detecting and avoiding malware and spyware
    3. Macintosh Virus Guide
    For general anti-virus protection I recommend only using ClamXav, but it is not necessary if you are keeping your computer's operating system software up to date. You should avoid any other third-party software advertised as providing anti-malware/virus protection. They are not required and could cause the performance of your computer to drop.
    Cache Clearing
    I recommend downloading a utility such as TinkerTool System, OnyX 2.4.3, Mountain Lion Cache Cleaner 7.0.9, Maintenance 1.6.8, or Cocktail 5.1.1 that you can use for periodic maintenance such as removing old log files and archives, clearing caches, etc. Corrupted cache files can cause slowness, kernel panics, and other issues. Although this is not a frequent nor a recurring problem, when it does happen there are tools such as those above to fix the problem.
    If you are using Snow Leopard or earlier, then for emergency cleaning install the freeware utility Applejack.  If you cannot start up in OS X, you may be able to start in single-user mode from which you can run Applejack to do a whole set of repair and maintenance routines from the command line.  Note that AppleJack 1.5 is required for Leopard. AppleJack 1.6 is compatible with Snow Leopard. (AppleJack works with Snow Leopard or earlier.)
    Installing System Updates or Upgrades
    When you install any new system software or updates be sure to repair the hard drive and permissions beforehand.
    Backup and Restore
    Having a backup and restore strategy is one of the most important things you can do to maintain your computer. Get an external Firewire drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
      1. Carbon Copy Cloner.
      2. Deja Vu
      3. SuperDuper!
      4. Synk Pro
      5. Tri-Backup
    Visit The XLab FAQs and read the FAQs on maintenance and backup and restore.
    Always have a current backup before performing any system updates or upgrades.
    Be sure you have an adequate amount of RAM installed for the number of applications you run concurrently. Be sure you leave a minimum of 10% of the hard drive's capacity or 20 GBs, whichever is greater, as free space. Avoid installing utilities that rely on Haxies, SIMBL, or that alter the OS appearance, add features you will rarely if ever need, etc. The more extras you install the greater the probability of having problems. If you install software be sure you know how to uninstall it. Avoid installing multiple new software at the same time. Install one at a time and use it for a while to be sure it's compatible.
    Additional suggestions will be found in:    
    1. Mac OS X speed FAQ
    2. Speeding up Macs
    3. Macintosh OS X Routine Maintenance
    4. Essential Mac Maintenance: Get set up
    5. Essential Mac Maintenance: Rev up your routines
    6. Five Mac maintenance myths
    7. How to Speed up Macs
    8. Myths of required versus not required maintenance for Mac OS X
    Referenced software can be found at CNet Downloads or MacUpdate.
    Add more RAM or run fewer applications concurrently.

  • Can i call multiple actions sequentially in a separate action/script?

    i execute multiple actions on a single file. usually these actions number more than 20. is there a way to automate invoking of these actions so that i run something only once and all smaller actions are applied sequentially and automatically on the same file?

    You can combine the commands in all of these Actions to a single Action,
    but you can't call them automatically one after another if they're separate.
    On Thu, Dec 11, 2014 at 10:22 AM, navpreet87 <[email protected]>

  • Can automatic master application be scripted by paragraph style?

    Help! I've been trying to figure out how to do this for a few days now. I could have sworn I've seen this done somewhere, but I can't find any references now. Someone suggested that it might be scriptable, so...
    I'd like to conditionally select a specific master page template based on a paragraph style.
    For example, the first paragraph style on every chapter in my book is "Title (Chapter)." When that paragraph style shows up, I'd like InDesign to automatically apply the appropriate master page template to that page, but default back to the standard master for all following pages.
    Anyhow know how to do this?

    Hi
    There is a solution from freelance book design but is not gree. A more basic script can be found by google searching for ApplyMasterpageToStyleCS5.
    I hope it helps...

  • Is there a script for scaling multiple precomps?

    Hi!
    Is there a script or another good way to scale tens of precomps in one go?
    I just noticed that I need to "grow bounds" to over 20 compositions in order to be able to use an effect on them. Do I need to manually go inside each precomp and change their comp settings for a bigger size or can this be done faster somehow?
    I tried the grow bounds effect, but could not get it to work. What I'm doing is simple: I'm blurring the layers to make them "glow" but for the blur to look nice the layers need to have bigger bounds.
    Any help will be appreciated!

    I used this After Effects Community Help search for 'script scale multiple compositions' and found this:
    http://www.aenhancers.com/viewtopic.php?t=701

Maybe you are looking for