446 reputation
24
bio website
location Bristol, United Kingdom
age
visits member for 2 years
seen Jun 6 at 13:34

Jul
20
awarded  Yearling
Jul
20
awarded  Yearling
Jul
1
answered Unzipping certain archives works on Windows but not on Linux
Feb
12
comment mapping <C-F9> in gvim: no response
XFCE 4.6.1/XFWM on Xubuntu 10.04 LTS "Lucid" with Gnome 2.30.2. In fact most CTRL key combinations seem not to work as expected e.g. <C-9> doesn't show up as anything either but <C-V>, <C-K> do work so the control key itself isn't broken.
Feb
11
asked mapping <C-F9> in gvim: no response
Nov
21
awarded  Commentator
Nov
21
comment Why could the size of the “dot” file “.” exceed 4096?
(2) Sadly, no longer. This used to be possible on old UNIX versions.
Nov
21
comment Why could the size of the “dot” file “.” exceed 4096?
(1) See also unix.stackexchange.com/questions/38639/… - short answer, delete the directory and recreate it.
Nov
21
answered Colourful terminal or console?
Nov
21
answered Why could the size of the “dot” file “.” exceed 4096?
Aug
17
answered reformat a text file to have all text on one line using CentOS 5.6
Aug
10
awarded  Supporter
Aug
9
comment How to do multiline search and replace text (delete) recursively
3. The command is correct like that. You can change the $i.tmp to just $i at the end to overwrite the files in-place (if you look at the sedml script, it uses $1.tmp to make the changes and then moves the file to $2 at the end, if successful). 4. The command as given will work if the delimiters are exactly as given and there's no # symbols between the delimiters. (You may want to check that it works correctly on one or two files manually, sedml FILE 's@#c3284d#[^#]*#/c3284d#@@g' FILE.tmp and see if the result is what you expect (this version doesn't overwrite the original).
Aug
9
comment How to do multiline search and replace text (delete) recursively
1. I'd personally make a directory bin in your home directory and put all your own scripts in there, then to add it to your path you can add export PATH="$PATH:~/bin" to one of your startup files (.bashrc). 2. [^#]* : The brackets usually mean 'any of these characters', except that the caret at the beginning turns it into 'any except these characters'. So [^#] matches any character that's not a #. The * at the end means "any number of", so you're matching any sequence of characters that doesn't contain a #. running out of space ...
Aug
9
comment How to do multiline search and replace text (delete) recursively
For your other question on what you have to escape: as long as you use single-quotes in the shell, and the pattern does not contain any more # characters between the delimiters (which I wouldn't expect in a base64_encoded string), you should be able to do 's@#c3284d#[^#]*#/c3284d#@@g' with no further escaping. The only things you'd need to escape within the quotes are sed metacharacters and the s delimiter (@ in this case so you're ok).
Aug
9
answered How to do multiline search and replace text (delete) recursively
Aug
8
awarded  Student
Aug
8
answered Server does not accept public key for ssh login without password
Aug
8
comment gajim blinking trayicon notification
From a look at the current gajim sources on my machine, the answer is probably "not without patching the program". Getting rid of the blinking "feature" requires commenting out one line, changing the icon in this case is a bit more complicated because you'd have to make and load the new icon. If you're familiar with python and interested, I can point you to the code that would need changing.
Aug
8
answered Deny flash plugin access to (a particular) webcam