Combining nawk with find

How can I make these two commands have an output on one line?
My script:
find . \( -name "*.htm" -o -name "*.html" \) \
-exec ls {} \;
nawk '/<TITLE>/{print $0}' *.html
Output from script:
./jer.html
./isp.html
<TITLE>Phone List</TITLE>
<TITLE>Jersey</TITLE>
I want this output:
./jer.html <TITLE>Phone List</TITLE>
./isp.html <TITLE>Jersey</TITLE
Please advise.

find . \( -name "*.htm" -o -name "*.html" \) -exec grep '<TITLE>' /de
v/null {} +
Without nawk, and the find "+" syntax may be solaris specific.

Similar Messages

  • Some configurations such as a software or hardware RAID do not support a recovery partition and can't be used with Find My Mac.

    I'm getting the following error message when attempting to invoke "Find My Mac"
    Some configurations such as a software or hardware RAID do not support a recovery partition and can't be used with Find My Mac.

    You have no recovery partition. This is a normal condition if your boot volume is a software RAID, or if you modified the partition table after running Boot Camp Assistant to create a Windows partition. Otherwise, you need to reinstall OS X in order to add a recovery partition.
    If you don't have a current backup, you need to back up before you do anything else.
    You have several options for reinstalling.
    1. If you have access to a local, unencrypted Time Machine backup volume, and if that volume has a backup of a Mac (not necessarily this one) that was running the same major version of OS X and did have a Recovery partition, then you can boot from the Time Machine volume into Recovery by holding down the option key at the startup chime. Encrypted Time Machine volumes are not bootable, nor are network backups.
    2. If your Mac shipped with OS X 10.7 or later preinstalled, or if it's one of the computers that can be upgraded to use OS X Internet Recovery, you may be able to netboot from an Apple server by holding down the key combination option-R  at the startup chime. Release the keys when you see a spinning globe.
     Note: You need an always-on Ethernet or Wi-Fi connection to the Internet to use Recovery. It won’t work with USB or PPPoE modems, or with proxy servers, or with networks that require a certificate for authentication. 
    3. Use Recovery Disk Assistant (RDA) on another Mac running the same major version of OS X as yours to create a bootable USB device. Boot your Mac from the device by holding down the option key at startup.Warning: All existing data on the USB device will be erased when you use RDA.
    Once you've booted into Recovery, the OS X Utilities screen will appear. Follow the prompts to reinstall OS X. You don't need to erase the boot volume, and you won't need your backup unless something goes wrong. If your Mac was upgraded from an older version of OS X, you’ll need the Apple ID and password you used to upgrade, so make a note of those before you begin.
    If none of the above choices is open to you, then you'll have to start over from an OS X 10.6.8 installation. There's no need to overwrite your existing boot volume; you can use an external drive. Install 10.6 from the DVD you originally used to upgrade, or that came with the machine. Run Software Update and install all available updates. Log into the App Store with the Apple ID you used to buy 10.7 or later, and download the installer. When you run it, be sure to choose the right drive to install on.

  • How to combine sound with video to an AVI Using IMAQ?

    I need to combine sound with video I capture and write it out as an AVI. Is there anyway in Labview to combine sound with and AVI? Or an easy to use third party product?

    Hello,
    The AVI tools that are provided with Vision allow for data to be added to your video.  Sound information can be stored this way, but if you are looking for a way to add audio support to your video (such that it will play the sound file when the video is played in Windows Media Player or other applications) you may want to look into finding a shareware or freeware product that can accomplish this.  LabVIEW does not have tools specifically targetted to this operation.
    Good luck,
    Robert

  • Combining HSL with RGB?

    I have an imaging processing need to combine two channels from HSL with a single one from RGB. Specifically I require an HSR image.
    I can convert the image to HSL but I can't figure out how to combine the channels. In fact I can't determine which is the H channel and which is the S channel either as PS still shows the channels as being R, G and B even after the conversion despite the colors obviously being changed.

    Thanks, Chris.
    I have tried to find the split and combine commands with no success.
    I did find this:
    http://help.adobe.com/en_US/photoshop/cs/using/WSCC832F92-8FE5-4839-93D2-108942A68321a.htm l
    but I can not find where the command is in the channel palate.
    Also I seem not to be able to copy/paste into the channels palate. Right clicking brings up no options other than to duplicate or delete.
    Terry Danks

  • HT204053 I have another Apple ID from when I originally set up this iPod, now I can't reset it as I am also set up with Find My iPhone which may have been doen by mistake I have been in contact with Apple itself and they can't fix the problem so far

    i have originally forgotten my pass code for a new iPod Touch, now I have with Apple's help reset it to factory, my issue is due to the change in my Apple ID , the iPod will not  let me set it up under the new Id or the old one.I also have been set up with find my iPhone and I don't remember if I did this or not, could have been the grand children trying to help out. Any ideas or suggestions, I haven't even used this yet and I have owned it for 6months already. Really am disappointed that the process is so difficult to navigate.

    I have also noticed the same "problem".  I do not fully understand the impact of using the same ID on multiple computers and devices if I want to keep them all in sync.

  • How to combine BOMs with Free Goods?

    Dear all.
    I am currently working on setting up a retail store in SAP ERP (6.0). Our client requires from us creating a functionality that would allow to create sets and add free goods to a certain set. For example: if you buy a set consisting of a hammer and a drill at a regular price, you get a pair of gloves free of charge.
    We used BOMs to create the sets and attempted to combine them with Free Goods, which prooved impossible -- FGs don't work with BOMs. We also tried to use Bonus Buys, but these seem to be working only with SAP Retail, which is not available to us.
    Do you know any way around this problem?
    Grzegorz

    Shantanu
    It sounds pretty helpful, however, what we just found out it is impossible to give away free goods according to the local tax standards - so we have to give them away for a fraction of the price rather than free of charge. This forced us to create a separate logic to deduce different item categories in a sales order and different prices according to that.
    Thanks anyway.
    Grzegorz

  • Deleteing files on an external hard disk with finder

    lately i have been having problems deleting files on external hdd with finder cos the file doesn't appear to be deleted, it deletes them into the ext. hdd
    pls how do i make finder delete the files permanetely from the drive?

    When you delete a file on the Mac, you drag it to the trash can. What happens if you force empty trash after dragging the file on the external hard drive to the trash?

  • Copying large number of files with Finder

    When you copy lots of files and folders with Finder, it appears to count up the number of "items" and then start copying and at the same time the number of items remaining gets smaller and smaller as the copy process proceeds.
    My question is what are the "items" that Finder is referring to? I did this on a folder with several folders and files and it came up with like about 45K items, but if I open up a Terminal window and do a "find . -print | wc" I get like about 155K lines, which I would have thought were the "items" that Finder is referring to, but obviously not.
    So what is it that Finder means when it talks about "items" when copying things around?
    If it matters I was copying the files from external drive to another external drive. And both external drives were physically attached to the two USB ports on a MacBook Pro running Mac OS X 10.5.8
    Also, is there a way to find out the number of "items" that Finder just copied as sometimes this number goes away so quickly before it registers on my eyeball/brain synapses Darn those fast computers I can go to the Finder's "Edit" menu and undo the last operation but is there somewhere that the number of items last processed can be looked at?
    And one last Finder question - is the progress bar that the Copy operation shows measure the number of items or the magnitude of the amount of MB it has copied or about to copy? So a copy of two items of 10GB each would progress in three discreet jumps (0%, 50% and 100%) and go much quicker versus a copy of 10Billion items of two bytes each - even though a total of 20GB were transferred in both cases?
    Thanks...
    -Bob

    ReallyDeepYogurt wrote:
    My question is what are the "items" that Finder is referring to? I did this on a folder with several folders and files and it came up with like about 45K items, but if I open up a Terminal window and do a "find . -print | wc" I get like about 155K lines, which I would have thought were the "items" that Finder is referring to, but obviously not.
    This is a guess, but I'd think that the Finder considers a "package" to be one item, while the "find" command counts each file within a package.

  • My boyfriend who has an iPhone 5 just had his phone stolen, he has an iCloud account with find my iPhone app downloaded but we do not have access to a computer only the safari on my iphone 4s, where do I need to go and what do I need to do to access his

    My bitfriend who has an iPhone 5 just had his phone stolen, he has an iCloud account with find my iPhone app downloaded but we do not have access to a computer only the safari on my iphone 4s, where do I need to go and what do I need to do to access his

    You need to download the free Find my iPhone application from the App Store.

  • Combining results with a Query of Queries - NOT QUITE THERE!!!

    I have included a small sample of my database, specifically the four tables I am trying to work with in the hopes that someone can steer me down the right path. Here are the four tables and the bottom is a visual desciption of what I am trying to achieve;
    ORDERS
    SALES CALLS
    ID
    SaleDate
    TerritoryManager
    UserID
    SaleDate
    TerritoryManager
    ID
    UserID
    426
    01-Oct-09
    Mike B
    10112
    10/1/2009
    Mike  B
    253
    10112
    427
    01-Oct-09
    Russ  C
    10115
    10/1/2009
    Mike  B
    254
    10112
    430
    01-Oct-09
    Jerry W
    10145
    10/1/2009
    Mike  B
    255
    10112
    432
    01-Oct-09
    Ron  H
    10118
    10/1/2009
    Mike  B
    256
    10112
    433
    01-Oct-09
    Ron H
    10118
    10/1/2009
    Ron  H
    257
    10118
    10/1/2009
    Ron  H
    258
    10118
    PRODUCTS ORDERED
    10/1/2009
    Ron  H
    260
    10118
    OrderID
    Quantity
    NewExisting
    UserID
    10/1/2009
    Russ  C
    261
    10115
    426
    12
    0
    10112
    10/1/2009
    Mike  B
    267
    10112
    427
    2
    0
    10115
    10/1/2009
    Mike  B
    268
    10112
    427
    3
    1
    10115
    430
    1
    0
    10145
    USERS
    430
    1
    0
    10145
    TerritoryManager
    Zone
    UserID
    432
    1
    0
    10118
    Mike B
    Central
    10112
    432
    1
    0
    10118
    Russ  C
    Central
    10115
    432
    1
    1
    10118
    Jerry W
    Central
    10145
    432
    1
    1
    10118
    Ron  H
    Central
    10118
    433
    2
    1
    10120
    Don  M
    Central
    10120
    Central Zone
    Ttl Calls
    Ttl Orders
    Ttl Items
    Ttl New Items
    Mike B
    5
    1
    12
    1
    Russ  C
    1
    1
    5
    Jerry W
    1
    2
    Ron  H
    3
    2
    6
    3
    I have tried to achieve this result in many ways to no avail. If I try to combine PRODUCTS ORDERED with ORDERS I get an erroneous count. I finally resigned myself to getting all the info I needed with separate queries and then trying to combine them with a query of queries. This worked fine until the last query of queries which timed out with no results. I am a newbie and would appreciate any constructive help with this. I am including my queries below as well;
    <cfquery name="qGetOrders" datasource="manna_premier">
    SELECT Count(Orders.ID) AS CountOfID,
           Orders.UserID AS Orders_UserID,
        Users.UserID AS Users_UserID,
        Users.TMName
    FROM Users INNER JOIN Orders ON Users.[UserID] = Orders.[UserID]
    GROUP BY Orders.UserID, Users.UserID, Users.TMName;
    </cfquery>
    <cfquery name="qGetSalesCalls" datasource="manna_premier">
    SELECT Count(Sales_Calls.ID) AS CountOfID,
           Users.UserID AS Users_UserID,
        Users.TMName,
        Sales_Calls.UserID AS Sales_Calls_UserID
    FROM Users INNER JOIN Sales_Calls ON Users.[UserID] = Sales_Calls.[UserID]
    GROUP BY Sales_Calls.UserID, Users.UserID, Users.TMName;
    </cfquery>
    <cfquery name="qGetProducts" datasource="manna_premier">
    SELECT Count(ProductOrders.OrderID) AS CountOfOrderID,
           Sum(ProductOrders.Quantity) AS SumOfQuantity,
        Sum(ProductOrders.NewExisting) AS SumOfNewExisting,
        ProductOrders.UserID
    FROM Orders INNER JOIN ProductOrders ON Orders.[ID] = ProductOrders.[OrderID]
    GROUP BY ProductOrders.UserID;
    </cfquery>
    <cfquery name="qqCombOrd_Prod" dbtype="query">
    SELECT *
    FROM qGetOrders, qGetProducts
    </cfquery>
    <cfquery name="qqCombOrd_ProdtoSales" dbtype="query">
    SELECT *
    FROM qqCombOrd_Prod, qGetSalesCalls
    </cfquery>
    PLEASE HELP!!! I'm about to go scouting for bridges to leap from!

    You might be able to simplify that query by getting rid of the subqueries.  Something like this
    SELECT TerritoryManager
    , count(sc.userid) totalcalls
    , sum(po.quantity) total
    , sum(newexisting) totalnew
    , count(o.userid) totalorders
    from users u join salescalls sc on u.userid = sc.userid
    join orders o on u.userid = o.userid
    join productorders po on u.userid = po.userid
    where userzone = 'CENTRAL'

  • Siri doesn't seem to work with Find My Friends

    Siri doesn't seem to work with Find My Friends completely accurately. If I ask it where once of my friends is, it tells me it doesn't know, but shows that person in the response, twice, with their location. Anyone experiencing this?
    Also - I found a bug. If you dictate a note via Siri it will not sync with iCloud at all. If you manually update the note however after Siri dictates it will. It will also sync if you manually start a note and then use the microphone on the keyboard.

    Actually, I figured it out. For the person in question I had both [email protected] and [email protected] listed in their contact info.  When you look at them in Find My Friends see which one is highlighted and delete the other. Once I did that they only showed up once in Siri.

  • I can't open itunes with finder to get to the download part

    I have a macbook and I downloaded the itunes 9, and it says that its itunes.9.0.2
    I know that I need to open it in finder to get to the setup or whatever, but when I click on it, it opens with diskimage mounter, and I don't know how to open it with finder.

    Go to your Downloads folder and find it - it should end with .dmg.
    That is a disk image file. Double click it to open the disk image and you should get a finder window with the iTunes pkg.
    Double click that to install iTunes.
    Regards,
    Colin R.

  • In Windows Explorer, I can copy and paste a path and send it to another user as a link to a file location. Is there a way to do that with Finder?

    If not with Finder, is there some other way to do it simply with Mountain Lion OS?

    Thanks for your suggestion Eric. I ended up finding a very simple way to copy a path. When you have navigated to the location for the path in Finder, simply right click on the folder and choose "get info". The path will be displayed in the info window and it can be selected and copied. Then it can be pasted into any text doc or field.

  • Problem with finding driver for Xerox Phaser 3117 laser printer.

    Hello!
    I have trouble with finding appropriate driver for my Xerox Pahser 3111 printer. There is no support for iOS on their official support website.
    Thank you for your help.

    Hello there, AnnaVod.
    The following Knowledge Base article provides some helpful pointers for troubleshooting AirPrint on your iOS device:
    About AirPrint
    http://support.apple.com/kb/ht4356
    For best results
    Make sure your software is up to date. For iOS, verify that your device is using the latest version of iOS available and that the app you're printing from is up to date. For OS X, Use Software Update to update OS X and apps you've purchased from the Mac App Store.
    To use your AirPrint printer with Wi-Fi, the printer must be connected to the same Wi-Fi network as your iOS device or Mac, either through bridging, or a direct connection to your Wi-Fi network.
    AirPrint printers connected to the USB port of an Apple AirPort Base Station or AirPort Time Capsule are not supported with AirPrint. Connect your AirPrint printer to your network using Wi-Fi, or connect it to a LAN port on your AirPort device using Ethernet.
    Make sure that your AirPrint printer is connected to your network before attempting to print. Some AirPrint printers can take several minutes to join a network after being turned on.
    If you're unable to print
    Check these things if you are unable to print, or if you see the message "No AirPrint Printers Found."
    Make sure your printer has paper, and enough ink or toner installed.
    Make sure your printer is connected to the same Wi-Fi network as your iOS device.
    Make sure your printer has power and is turned on. Try turning your printer off and then back on again to see if it resolves your issue.
    Check to see if your printer has any error lights or indicators displayed on the printer's control panel. Check the documentation that came with your printer to clear any errors displayed.
    Check with your printer's manufacturer to see if any firmware updates are available for your printer. Check your printer's documentation or contact the printer vendor for more information. A firmware update may be available, even if you just bought your printer.
    Important: Printers not listed in this article are not supported by AirPrint. To search for an AirPrint printer model, use the Find feature of your web browser (usually Command-F) to search the list below.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • Is it possible to combine JQuery with Captivate?

    Hi there,
    I'm using Captivate version 6 on a Mac OSX 10. I am creating an elearning resource for a client and most of their staff will be accessing it via iPads and iPhones, so I want to publish it using HTML5. They'd like to add a couple of drag and drop tasks (they don't need to be assessed) but the only way I can see to do this is via the Infosemantics widget. I've bought this and used it for previous projects, and it works well as a drag and drop, but obviously doesn't work on an iPad with it being Flash based.
    I've seen that I can create a drag and drop exercise using JQuery, but then I don't know how I can combine this with Captivate to make one seamless presentation. Once the HTML5 has been published is there a way of bringing other HTML pages into it? Or could javascript be used within Captivate?
    Does anyone have any suggestions?
    Thanks in advance for any help.

    There is a website, whose name escapes me ( I am at work ) which people submit to in a variety of languages and various formats such as Extended Cut, Directors Cut etc so that you have no need to mess about with them, just add them. Also, as I said above, some are just for non-English parts so don't show subtitles if the dialogue is in English.
    Edit: found it. I use http://subscene.com/

Maybe you are looking for

  • Problem in getting the database connection from a connection pool

    Hai All, I am facing a problem in getting the database connection from a connection pool created on weblogic server 8.1. I am using the Oracle database 8.1.7. I have configured my connection pool, datasource and JNDI in weblogic. In my java program i

  • Unable to Update - Disk cannot be read from or written too

    Every time i got to update the music library onto the IPOD it says "The ipod cannot be updated. The disk could not be read from or written to." I have the newest version of itunes installed and i believe the ipod is up to date. The ipod is recognized

  • Firefox frequently loses almost all navigation (scroll wheel, page up/down) - must exit/restart to clear problem

    This problem began sometime when I was using FF 3.6.x. I have since upgraded to 8.0.1, and the problem occurred more frequently than with 3.6.x. I finally decided to create a new profile, and I did not copy any files from the default profile. The pro

  • Missing filter on output

    Recently we had an experience where an output that our company made was missing a filter that was applied to the clip in FCP.  The filters played back fine within FCP but when we exported to Quicktime file we were missing a few filters that was appli

  • Sales order with special procurement

    Hi, We are having a problem raising a sales order were the material has a special procurement marker as there is a clash between this and the Item category we have to enter on a sales order. We get our products manufactured by an outside supplier. To