677 reputation
2717
bio website jcubic.pl
location Poland
age 34
visits member for 4 years, 2 months
seen Aug 20 at 9:40

Aug
20
comment Why asterisk in command result in for loop is expanding?
Have the same with while, I'm using GNU bash, version 4.3.11(1)-release (i686-pc-linux-gnu).
Aug
19
comment Why asterisk in command result in for loop is expanding?
@val0x00ff where?
Aug
8
comment How to convert html entities to readable text?
this work perfect c-v | html2text | recode html
Aug
8
comment How to convert html entities to readable text?
\u119 work, but I'm not able to make it work with sed. So far I have c-v | sed -e 's/&#x\([^;]*\);/\\u\1/g' -e 's/.*/echo -e "&"/' | bash
Aug
8
comment How to convert html entities to readable text?
Also this don't work because it's one character and I don't get it when I run your command.
Aug
8
comment How to convert html entities to readable text?
to get up votes you should probably write shell code that will convert ę to echo -e "\x01\x19" should be possible with sed.
Apr
7
comment Find font file from font name on Linux
Didn't know about fc-* commands. Thanks.
Apr
1
comment List files, directories and executables in current directory
symlink to dir should be dir, but all other can be just files. How can I test if symlink point to directory, does your command do that?
Apr
1
comment List files, directories and executables in current directory
This work for all find . -mindepth 1 -maxdepth 1 \( -type f -executable -printf 'X%p\0' \) -o -type d -printf 'D%p\0' -o -not -type d -printf 'F%p\0'
Mar
31
comment List files, directories and executables in current directory
Great, too bad it don't show special files.
Mar
27
comment How to change locale to English?
I've try LANG=C x
Mar
26
comment How to change locale to English?
LANG x return localized message but LANG=C bash -c "x" give english one. LC_ALL=C bash -c "x" also work.
Mar
26
comment How to change locale to English?
Also LC_ALL=en_US.UTF-8 xxx give localized file not found message. But when I run eval $(locale | sed -e 's/\(.*\)=.*/export \1=en_US.UTF-8/') it give me english one, maybe you need to use different variable for that too, I've tried LC_MESSAGES=en_US.UTF-8 xxx and it also give Polish not found message.
Mar
25
comment How to change locale to English?
It's strange, I think someting is wrong with type command because it's keep showing me translated message.
Mar
24
comment Error loading shared library libSDL-1.2
that file wasn't there, so I need to install sudo apt-get install libsdl1.2-dev:i386 libglu1-mesa-dev:i386 libglu-dev:i386 bump into this: bugs.launchpad.net/ubuntu/+source/alsa-lib/+bug/1296474 then also install libsdl-mixer1.2-dev:i386 and libsdl-net1.2-dev:i386 to make it work.
Mar
23
comment Error loading shared library libSDL-1.2
How to compile it using 64bit?
Mar
23
comment Error loading shared library libSDL-1.2
It show libSDL-1.2.so.0 => not found; libSDL_net-1.2.so.0 => not found; libSDL_mixer-1.2.so.0 => not found but all other point to files in /usr/lib/i386-linux-gnu
Mar
23
comment List all binaries from $PATH
@vonbrand I'm working on the shell in javascript/php and I'm executing shell in non interactive mode.
Mar
22
comment List all binaries from $PATH
I didn't mention that I'm using bash.
Mar
21
comment List all binaries from $PATH
Good to know this command, and I actually need executables for completion. Maybe I use this command instead.