Difference between revisions of "User:Colin"
From AMule Project FAQ
(=amuleCVSfx=) |
(+ hirnriss.net) |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 8: | Line 8: | ||
* reorganized [[AMuleWeb]] and rewrote the intro | * reorganized [[AMuleWeb]] and rewrote the intro | ||
* expanded [[AMuleCMD]] | * expanded [[AMuleCMD]] | ||
+ | * complained about the CVS flag, just to find out Kry can be a sarcastic condescending son of a bitch. | ||
and other smaller fixes elsewhere... | and other smaller fixes elsewhere... | ||
+ | |||
+ | --- | ||
+ | |||
+ | I keep forgetting where this is: [http://www.hirnriss.net/?area=cvs daily CVS snapshot] | ||
--- | --- | ||
Line 24: | Line 29: | ||
awk < "$FileIn" > "$FileOut" ' | awk < "$FileIn" > "$FileOut" ' | ||
Found < 1 && /.!cmdline\.Found/ { | Found < 1 && /.!cmdline\.Found/ { | ||
− | n = | + | n = 6 |
print "// ------ Commented out by amuleCVSfx ------" | print "// ------ Commented out by amuleCVSfx ------" | ||
Found = 1 | Found = 1 | ||
Line 38: | Line 43: | ||
</pre> | </pre> | ||
+ | |||
+ | |||
You can view the changes using diff: | You can view the changes using diff: | ||
<pre> | <pre> | ||
$ diff --side-by-side --suppress-common-lines src/amule.cpp src/amule.cpp~ | $ diff --side-by-side --suppress-common-lines src/amule.cpp src/amule.cpp~ | ||
</pre> | </pre> |
Latest revision as of 00:43, 8 March 2008
Satisfied amule user since September 2004.
I am also known as ezeltje in the forum (ezel means "mule" in Dutch, in case anyone is wondering).
Things I have done there:
- created the Events pages with the example script
- reorganized AMuleWeb and rewrote the intro
- expanded AMuleCMD
- complained about the CVS flag, just to find out Kry can be a sarcastic condescending son of a bitch.
and other smaller fixes elsewhere...
---
I keep forgetting where this is: daily CVS snapshot
---
amuleCVSfx
Here is a simple script to remove the obligatory command-line parameter you need to use to run aMule CV. Run it in the ../amule-cvs directory. It will make a backup of the original file.
#!/bin/bash FileIn=src/amule.cpp FileOut=_^$$.tmp [ -e $FileOut ] && rm -f $FileOut awk < "$FileIn" > "$FileOut" ' Found < 1 && /.!cmdline\.Found/ { n = 6 print "// ------ Commented out by amuleCVSfx ------" Found = 1 } n > 0 { $0 = "// " $0 n-- } {print}' mv -f $FileIn $FileIn~ 2>&1 mv -f $FileOut $FileIn 2>&1 # end
You can view the changes using diff:
$ diff --side-by-side --suppress-common-lines src/amule.cpp src/amule.cpp~