Search results

  1. kenorb

    Why some of the port names are different than path?

    This one is funny: > sudo portinstall gdk-pixbuf2 ** No such package or port: gdk-pixbuf2 Really? > sudo portinstall gdk-pixbuf\* ---> Found 2 ports matching 'gdk-pixbuf*': graphics/gdk-pixbuf graphics/gdk-pixbuf2 ** Found already installed package(s) of 'graphics/gdk-pixbuf'...
  2. kenorb

    My clock disappeared

    Yes:) But it shouldn't detect dependency somehow? > pkg_info | grep gnome-panel gnome-panel-2.30.2_1 Panel component for the GNOME 2 Desktop But I can't even upgrade it into 2.32 > sudo portupgrade gnome-panel ... gnome-panel-2.32.1.tar.bz2 100% of 3058 kB 835 kBps ...
  3. kenorb

    My clock disappeared

    My GNOME clock applet disappeared from panel, as most of the things proportionally to my usage. Each time when my system booted, from couple of other pop-ups from nowhere, I have seen this pop-up as well: The panel encountered a problem while loading "OAFIID:GNOME_ClockApplet". One day I...
  4. kenorb

    Get specified section/table/content from file using sed/awk/perl, etc.

    wblock: Thank you for the great example, It looks very simple, I like simple solutions, but even it's, something it's missing. Tried this command, empty result. Tried: perl -0777 -ne 'print $1' * Empty output. > echo test | perl -0777 -ne 'print \$1' SCALAR(0x80123fde0)> What I'm missing?
  5. kenorb

    grepping a grep result file using a wildcard is rubbish

    Reported the bug here: http://www.freebsd.org/cgi/query-pr.cgi?pr=153124 > mkdir test3 && cd test3 > perl -e '$i = 1; while($i++ < 5) { system("wget -qnc \"http://ai-contest.com/rankings.php?page=$i\""); }' > time grep "td" * > zz.txt ^T load: 0.63 cmd: grep 39810 [wdrain] 28.95r 15.76u 6.99s...
  6. kenorb

    grepping a grep result file using a wildcard is rubbish

    Trying to debug the grep, giving the weird stuff: 39668: read(3,"xt:zz.txt:zz.txt:zz.txt:zz.txt:z"...,24576) = 24576 (0x6000) 39668: write(1,"zz.txt:zz.txt:zz.txt:zz.txt:zz.t"...,16384) = 16384 (0x4000) 39668: read(3,"t:zz.txt:zz.txt:zz.txt:zz.txt:zz"...,24576) = 24576 (0x6000) 39668...
  7. kenorb

    grepping a grep result file using a wildcard is rubbish

    I tried -R only once, the rest examples are without -R.
  8. kenorb

    grepping a grep result file using a wildcard is rubbish

    SUCCESS TEST ON PLAIN FILES: perl -e '$i = 0; while($i++ < 100) { system("echo xx test xx > file$i.txt"); }' > grep test * > zz.txt > grep test * > zz.txt > grep test * > zz.txt > grep test * > zz.txt No any problems. FAIL TEST parsing html files: > perl -e '$i = 1; while($i++ < 5) {...
  9. kenorb

    grepping a grep result file using a wildcard is rubbish

    I don't know how, but this works fine: > grep -R "download" * | cat > list.txt Without cat's pipe, by default FreeBSD assuming that I want to grep my whole drive, even if I'm in my folder with 129 files? OR It's a big loop by grep'ing the file which it appending the matches.
  10. kenorb

    grepping a grep result file using a wildcard is rubbish

    > time grep "download" * > list.txt /usr/local/bin/grep: writing output: No space left on device /usr/local/bin/grep: writing output: No space left on device /usr/local/bin/grep: write error 115.987u 121.518s 10:25.48 37.9% 216+1418k 1641+393603io 1pf+0w -rw-r--r-- 1 kenorb kenorb 48G Dec...
  11. kenorb

    grepping a grep result file using a wildcard is rubbish

    See: http://www.mail-archive.com/freebsd-current@freebsd.org/msg124281.html http://lists.freebsd.org/pipermail/freebsd-current/2010-August/019310.html Looks like it's more than 5 times slower?;/ OMG
  12. kenorb

    grepping a grep result file using a wildcard is rubbish

    > ll | wc -l 169 > grep "download" * | grep href > list.txt load: 1.27 cmd: grep 9946 [wdrain] 681.27r 156.45u 104.06s 37% 1120k load: 1.25 cmd: grep 9946 [wdrain] 686.78r 157.55u 104.84s 34% 1120k load: 1.15 cmd: grep 9946 [wdrain] 693.05r 158.74u 105.69s 33% 1120k ^C > time grep...
  13. kenorb

    Get specified section/table/content from file using sed/awk/perl, etc.

    Each file has the same structure as follows: <html> <head></head> <body><p><table>My table here!</table></p> </body> </html> I'm looking to dump only the section between <table> and </table> (including those tags). I've spend a little while to find some solution, but still isn't clear...
  14. kenorb

    mount iphone

    Tried this library: http://www.libimobiledevice.org/ Step by step installation instruction: Install usbmuxd library: wget http://marcansoft.com/uploads/usbmuxd/usbmuxd-1.0.6.tar.bz2 tar xvfj usbmuxd-1.0.6.tar.bz2 && cd usbmuxd-1.0.6/ mkdir build && cd build && cmake .. && sudo make install...
  15. kenorb

    /usr/bin/ld: cannot find -lgcrypt

    My configure script solved as well by following LDFLAGS: > ./configure LDFLAGS="-L/usr/local/lib/"
  16. kenorb

    /usr/bin/ld: cannot find -lgcrypt

    Tried to made workaround by: sudo ln -s /usr/local/lib/libgcrypt.so.17 /usr/lib/libgcrypt.so.17 && sudo ldconfig -R But doesn't work as expected;/ Is there any FreeBSD version of ld.so.conf? Found this: http://lists.freebsd.org/pipermail/freebsd-hackers/2003-June/001746.html But gcc don't load...
  17. kenorb

    /usr/bin/ld: cannot find -lgcrypt

    Does work, thank you:) What I've to do to be visible by default? Shouldn't ldconfig provide final list of available and working options? > gcc -print-search-dirs install: /usr/libexec/ programs: =/usr/bin/:/usr/bin/:/usr/libexec/:/usr/libexec/:/usr/libexec/ libraries: =/usr/lib/:/usr/lib/ >...
  18. kenorb

    /usr/bin/ld: cannot find -lgcrypt

    Sorry, the same: > gcc -o blah -I/usr/local/include/ -L/usr/local/libs/ -lgcrypt blah.c /usr/bin/ld: cannot find -lgcrypt
  19. kenorb

    /usr/bin/ld: cannot find -lgcrypt

    Test file from configure: /* confdefs.h */ #define PACKAGE_NAME "libimobiledevice" #define PACKAGE_TARNAME "libimobiledevice" #define PACKAGE_VERSION "1.0.4" #define PACKAGE_STRING "libimobiledevice 1.0.4" #define PACKAGE_BUGREPORT "nospam@nowhere.com" #define PACKAGE_URL "" #define PACKAGE...
  20. kenorb

    /usr/bin/ld: cannot find -lgcrypt

    > gcc -o conftest -I/usr/local/include conftest.c -lgcrypt /usr/bin/ld: cannot find -lgcrypt > ldconfig -r | grep gcrypt 308:-lgcrypt.17 => /usr/local/lib/libgcrypt.so.17 890:-lgcrypt.16 => /usr/local/lib/compat/pkg/libgcrypt.so.16 > ldd /usr/local/lib/libgcrypt.so.17...
Back
Top