Identi.ca Identi.ca
  • Login
  • Public

    • Public
    • Groups
    • Featured
    • Popular

Conversation

Notices

  1. Chris Warburton Chris Warburton Linux

    Any advice for finding files all files containing "£" (UK pound) on !linux ? Geany's built-in Grep usage is failing :(

    Wednesday, 27-Oct-10 14:54:52 UTC from xmpp
    • Jeff Has Moved Jeff Has Moved

      @warbo grep?

      Wednesday, 27-Oct-10 14:58:48 UTC
    • set0s set0s

      @warbo Maye some desktop search .. strigi/beagle etc.

      Wednesday, 27-Oct-10 14:59:37 UTC
    • e.m.fields e.m.fields

      @warbo: Greetz. Use a "for" loop: "for i in /path/*; do grep £ $i; echo "found in "$i"; done"

      Wednesday, 27-Oct-10 15:18:35 UTC
    • e.m.fields e.m.fields

      @warbo: er, disregard that last part about "found in $i", that bit's not quite right, but the rest of it will work.

      Wednesday, 27-Oct-10 15:20:27 UTC
    • e.m.fields e.m.fields

      @warbo: Aha! Skip the "for" loop: "grep -lir £ *". (the -r will make it recursive, do not do this unless you need to search subdirectories)

      Wednesday, 27-Oct-10 15:23:05 UTC
    • Chris Warburton Chris Warburton e.m.fields

      @fieldse Thanks for the help :) Unfortunately it's only returning images :( The £s are coming up as <A3> in less BTW

      Wednesday, 27-Oct-10 15:58:17 UTC

Site notice

  • API
  • Status

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Identi.ca is a microblogging service brought to you by Status.net. It runs the StatusNet microblogging software, version 1.1.0-alpha1, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Identi.ca content and data are available under the Creative Commons Attribution 3.0 license.

Switch to mobile site layout.

Built in Montreal