[solved] How to remove color from yaourt output?

Hi everyone,
I am having a problem with removing color output from yaourt.
In order to get a list of installed packages in kdemod-core, I execute the following:
yaourt -Qs ^kdemod | grep kdemod-core | awk '{print $1}' > kdefiles.txt
Some time ago colored output was usually lost when piping commands. For some reason it is not removed anymore so that I get the following file content:
[1;35mkdemod-core/[0m[0m[1mkdemod-kde-common
[...] and so on
Of course pacman doesn't understand this anymore:
pacman -S `cat kdefiles.txt`
Btw. The same options (-Qs ) with pacman search only locally installed packages.
Any ideas?
Thanks,
David
Last edited by dcrabs (2009-05-31 10:47:57)

skottish wrote:
dcrabs wrote:Btw. The same options (-Qs ) with pacman search only locally installed packages.
Any ideas?
pacman -Ss searches on-line.
Thanks, but then I don't have the packages that are installed. It is of course much faster and without color but doesn't solve my problem.
Then only thing I could find so far was a statement, that piping through less for example removes color for security reasons. That doesn't seem to be true any more.
There is a col command which outputs plain text but there are still characters left.

Similar Messages

  • [Solved]How to remove files from a failed install.

    I attempted to install the caffeine package from the AUR using packer. After confirming y to proceed with installation pacman had to pull in quite a few more dependencies than I was expecting. The installation ended up failing because I have package signing set to required. This is all well and good because I don't really think caffeine is worth all the extra dependencies. However, on to my question, I see that these packages (the dependencies) have been downloaded to my system and are in the /var/cache/pacman/pkg directory, is there an easy way to tell pacman to remove just these packages other than going through and removing them one by one? Thanks for the help.
    Last edited by Lexworth (2012-01-21 19:19:43)

    Thanks to you all. I did read pacman manpage as well as the wiki entries for pacman and pacman Tips. I was just wondering if maybe someone more proficient with the command line knew a easier way to remove the files. I know I could use pacman -Sc or pacman -Scc for clean the entire cache but was hesitant to do so because of the warnings. I think I understand that sudo pacman -R $(pacman -Qtdq) will remove orphan packages however I get an error that no targets are specified. I believe this may be due to the fact that these packages were not installed, just the binaries downloaded. Thanks again for the help. I'll mark this as solved.

  • How to 'remove color' from a selection?

    I plan to get PSE (Mac) soon but need to ask a question
    before...
    Say I have a .jpeg, or .tiff (color image) open.
    I then make a selection of a rectangle or some other shape over the image.
    Is it possible to 'remove the color' or select gray scale
    within the selected shape, so that there is then the
    original image with the selection in monochrome
    and the rest in the original color?
    many thanks

    Come back when you're ready and someone can tell you some of the ways to do it. No point in going into that till you have the program in front of you.

  • How to remove xmls from output?

    Hello All,
    I have created a BPEL process that takes a flat file and converts to an XML file. I get an output of the following (see below). Is there a way that I can remove xmlns="" from the output?
    Incorrect Output
    <?xml version="1.0" encoding="UTF-8" ?>
    <WhseShipNotice xmlns="">
    Correct Output
    <?xml version="1.0" encoding="UTF-8" ?>
    <WhseShipNotice>
    Any suggestions?
    Regards,
    Kathy

    I can remember if this xsd removes namespaces correctly, I think it may still have the initial xmlns at the top but give it a try. Typically what needs to be done is some embedded java to do this.
    <schema targetNamespace="http://www.oracle.com/Gateway"
            xmlns="http://www.w3.org/2001/XMLSchema">
      <element name="Message">
      <complexType>
        <sequence>     
          <element name="Header">
            <complexType>
            <sequence>
               <element name="UniqueID"             type="string"/>
               <element name="RoutingRule"          type="string"/>
               <element name="FileName"             type="string"/>
               <element name="Destination"          type="string"/>
               <element name="TransportType"        type="string"/>
               <element name="Attachment"           type="string"/>
               <element name="MQMessageID"          type="string"/>
               <element name="MQCorrelationID"      type="string"/>
            </sequence>
            </complexType>
            </element>
          <element name="Payload"            type="base64Binary"/>
        </sequence>
      </complexType>
      </element>
    </schema>cheers
    James

  • Does anyone know how to remove images from google

    i had instagram and i didnt upload images of myself but i only used my own image in the display picture and some how it has gone on to the google image search yesterday i deleted my account but when i checked to see if my images do appear in the google images i had some really bad regrets !! i reallywant to know how i can remove pictures off the google image search  even doe this does not kind of relate thank you .

    Does anyone know how to remove vocals from an import from I tunes...a  polyphonic stereo mix ?
    If you are talking about some "Karaoke" method using Logic I'll try to offer one. Before that I must say that most of the Karaoke methods are based on reversing the Phase of one of the stereo channel and bussing or merging the stereo into Mono. The result is: killing all Pan Centered in the mix - like Main Vocal, Bass, Kick, SN ect.
    The artifacts of the Stereo FX of the main vocal will stay in the Karaoke, cause the FX is stereo etc.
    Here is the Logic Setup I can offer to try some Karaoke trick using Logic.
    1. Import a Stereo mix into a Logic Stereo track.
    2. Create another stereo track and duplicate (copy) the Original Mix region to the duplicated track.
    3. Hard Pan L/R both stereo tracks.
    4. Insert an EQ and Gainer plugins into the duplicated track (R).
    5. Set the Output select of the both tracks to a Bus and assign the new Aux Track Switch mode to "Mono".
    6. Open the Gainer plugin and thick the "Phase Invert" Right button.
    7. To keep the "lowend" instruments like the bass and kick, open the EQ plugin and enable the Low Cut filter and try some Hz settings 80-115, or different Q which will sounds better for your Karaoke.
    P.S Click the image below to show its real resolution!
    Regards,
    A.G
    ======================================
    www.audiogrocery.com
    Author of: Logic GUI Deluxe(Free), Vox De Bulgaria s.a.g.e vocal pack for RMX, Logic Snapshot Console, RMX Power CTRL - Logic Environment Midi editor for Stylus etc.
    ======================================

  • How to remove myself from/leave a team?

    Hi
    I'm using Visual Studio Online in my software development classes. The problem is that the "Accounts list" on my Visual Studio Online portal is crowded with projects from past years. A clean-up is needed.
    I found this solution (https://social.msdn.microsoft.com/Forums/vstudio/en-US/80057697-38d7-4161-8564-13c630943484/vs-tfs-online-how-to-remove-myself-from-a-team-?forum=TFService), but the problem in order to apply it is that I have no more contact with
    a lot of those students + most of their accounts are expired.
    How can I solve this?
    Thanks in advance!
    Evert
    PS: my apologies for any linguistic mistakes... English isn't my mother tongue.

    Hi Evert,
    Based on your description, seems you're the owner of the Visual Studio Online account. If you want to remove your account from the teams that expired, then you can delete the teams directly in team project administrative page of team web access.
    If you only want to remove your account from the teams, then you can click the team and remove your account in administrative page.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Does anyone know how to remove vocals from an import from I tunes...a  polyphonic stereo mix ?  o mixdown ,

    Does anyone know how to remove vocals from an import from I tunes...a  polyphonic stereo mix ? What are some other editing allowed on a stereo import (polyphonic mix) Thanks, Sploink.

    Does anyone know how to remove vocals from an import from I tunes...a  polyphonic stereo mix ?
    If you are talking about some "Karaoke" method using Logic I'll try to offer one. Before that I must say that most of the Karaoke methods are based on reversing the Phase of one of the stereo channel and bussing or merging the stereo into Mono. The result is: killing all Pan Centered in the mix - like Main Vocal, Bass, Kick, SN ect.
    The artifacts of the Stereo FX of the main vocal will stay in the Karaoke, cause the FX is stereo etc.
    Here is the Logic Setup I can offer to try some Karaoke trick using Logic.
    1. Import a Stereo mix into a Logic Stereo track.
    2. Create another stereo track and duplicate (copy) the Original Mix region to the duplicated track.
    3. Hard Pan L/R both stereo tracks.
    4. Insert an EQ and Gainer plugins into the duplicated track (R).
    5. Set the Output select of the both tracks to a Bus and assign the new Aux Track Switch mode to "Mono".
    6. Open the Gainer plugin and thick the "Phase Invert" Right button.
    7. To keep the "lowend" instruments like the bass and kick, open the EQ plugin and enable the Low Cut filter and try some Hz settings 80-115, or different Q which will sounds better for your Karaoke.
    P.S Click the image below to show its real resolution!
    Regards,
    A.G
    ======================================
    www.audiogrocery.com
    Author of: Logic GUI Deluxe(Free), Vox De Bulgaria s.a.g.e vocal pack for RMX, Logic Snapshot Console, RMX Power CTRL - Logic Environment Midi editor for Stylus etc.
    ======================================

  • HT1386 The first time I synced my iphone with my mac, I didn't realize that all of my photos from iphoto would transfer over to the phone.   Now, I need to remove some, as they are taking up too much space.  I cannot figure out how to remove them from the

    The first time I synced my iphone 4 with my mac, I didn't realize that all of my photos from the iphoto library would transfer over to the phone (more than 3,000).   Now, I need to remove some, as they are taking up too much space.  I cannot figure out how to remove them from the phone.  I tried to uncheck boxes and sync again, but I get a message that there is no room on the iphone.  I've read as many articles as I can find, but still cannot manage this.  Thanks for any help.

    Open itunes, connect iphone, select what you want, sync

  • How to remove pics from my 3GS...???

    How to remove pics from my 3GS..???

    Photos taken with the phone can be deleted by selecting them and hitting the little wastebasket icon in the right bottom corner.
    Photos you did sync to your phone, can only be removed by deselecting them in the photo pane in iTunes, the following sync will remove them from the phone.

  • How to remove Unicode from XML file

    I get following error when unmarshal xml:
    [java] org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x15) was found in the element content of the document.
    Anyone know how to remove Unicode from xml file? Can I remove the unicode by rebuild the file?
    Thanks

    These sort of error usually occur when you're using a different character encoding to read the file than the one you wrote it with. Perhaps if you were to post the problem section of the file and/or the code that created it in the first place.

  • How to remove iPhone from a certain computer

    How to remove iPhone from a certain computer along with it's ID to allow another phone to use the comp soley.

    You do not need to do anything.
    Simply stop syncing the iphone to the computer and begin syncing the new iphone to the computer.

  • How to remove Seperator from check-in and profile check in pages

    How to remove Seperator from check-in and profile check in pages
    The seperator is included on the checkin pages, which is present in the std_page with name "std_namevalue_separator", this is called by td_document_checkin_fields and std_document_file_fields.
    Defination of include:
    <@dynamichtml std_namevalue_separator@>
    <$if not isUploadFieldScript$>
    <tr>
         <td width="<$captionFieldWidth$>"><hr /></td>
         <td width="<$captionEntryWidth$>"><hr /></td>
    </tr>
    <$endif$>
    <@end@>
    I have to remove the following include from some of the profile check in page.
    Please suggest if anyone have some idea, how to proceed.
    Thanks,
    Sumit

    791848 wrote:I have to remove the following include from some of the profile check in page.The key here is that you want to do this in some profiles, not all profiles or globally, if I'm reading this right.
    Without writing a component, you can put this code in the "side effects" box in the desired profile(s). This code removes the horizontal rule, and inserts a non breaking space in its place.
    <$setResourceInclude("std_namevalue_separator","<$if not isUploadFieldScript$>
    <tr>
    <td width=\"<$captionFieldWidth$>\"> </td>
    <td width=\"<$captionEntryWidth$>\"> </td>
    </tr>
    <$endif$>")$>YMMV. The non-breaking space may get stripped out in the forum.

  • How to remove text from .swf animation?

    how to remove text from .swf animation? Can no find this text
    in fla file. Flash 8.

    exactly what 'text' are you referring to? text that you typed
    on the Stage using the 'textTool'? simply select the text with the
    'arrowTool' and hit delete.
    If you are referring to a textField that you want to
    eliminate after a certain amount of time, within your animation
    sequence. first copy the text, create a new layer, paste the text
    in place, then where you want to have the text 'disappear' insert a
    'blank keyframe' at that point in the text layer.
    OR place the textfield within a MC and remove it with code.
    OR if the text is dynamic and you wish to use the position at a
    later time, pass a value of null or and empty string to the field
    at the point you wish. And there are other ways still. :) hope one
    of these works for you.

  • How to remove passcode from ipod touch 3g  if power botton is not working?

    how to remove passcode from ipod touch 3g  if power botton is not working?

    Use this program to place the iPod in recovery mode so that you then can restore the iPod via iTunes.
    RecBoot: Easy Way to Put iPhone into Recovery Mode

  • HT4859 kindle fire how to remove items from icloud

    kindle fire how to remove items from icloud

    Kindle Fire's don't work with iCloud, your question makes no sense.

Maybe you are looking for