| |
| |
| |
|
Page: 1 2 3 4 5
Comments:
<0> batphone: cat /proc/cpuinfo might do the job <1> might not be <2> anyone here using a serial console with 2.6.16.x? <1> was <2> animall, have any problems with buffering? <1> until i fried the mobo, nope <1> but i had the port on 9600 baud <2> I'm on a Soekris net4521 (AMD Elan520 SC CPU, 486 instruction set) and the serial console is giving me trouble. <2> it buffers stuff to be transmitted until it gets input. <2> i'm pretty sure a change in 2.6.16 is causing the problem. <0> ryan`: did you take a look into the changelog? <2> yeah. <2> there are a bunch of serial changes. <2> but my c is pretty poor.... <2> o_O
<0> ryan`: nice. <3> does dual core cpu sets need APIC? <4> balrog-kun: yes <4> ups <4> batphone: yes <4> APIC+ACPI == DMA <2> nope. <2> I failed. <2> er <2> 2.6.15.7 <1> hehe <1> typos got ya <5> i got a problem with quilt 0.45 <5> a failing sed expression: +++ sed -n -e '/^$/q' -e 's/^Subject:[' ']*//ip' /tmp/quilt_mail.Do69ix <5> sed: -e expression #2, char 12: unterminated `s' command <5> any clue? <6> what are you replacing Subject with? <6> nothing it appears then you would need to remove /ip <5> well, i don't even get what quilt tries to do with this <6> 's/param/parm_to_replace/' <5> yes, i know this <5> but there's a ^, no? <6> 's/^Subject:[' ']*//ip' <6> That means "Starts with" <5> well ok <5> hrmm <6> 's/^Subject:[' ']*/ip/' (would be vaild) <5> i got reasonable output removing the quotes in the second sed expression <6> or... <6> 's/^Subject:[' ']*//' <5> i don't really understand how quilt could have such a bug, that's all <6> it happens <6> maybe the meant *\//ip' <5> # Does this patch have a Subject: line? <5> local subject=$(echo $(echo "$header" \ <5> | sed -n -e '/^$/q' \ <5> -e $'s/^Subject:[ \\t]//ip')) <6> not certian what the i means, p and g are valid terminators of that <6> g i think means replace globally, all occurances <6> p i think is only the first.. i would have to get my bash book out <5> yes... <5> but this should be just a check... <5> if we got a line like Subject: ... <6> yes <6> i think sed -n -e '/^$/q' looks for blank lines <6> i fell asleep the other night reading about sed :) <5> tehehe <5> hrmm <6> what the hell is /q <5> hrm <6> p prints, d deletes <5> well, the problem isn't there anyway <5> the problem is related to the second expression <5> if [ -z "$(sed -n -e '/^$/q' \ <5> -e '$s/^Subject:[ \t]*//ip/' \ <5> $introduction)" ] <6> ok lets focus on that <5> what i know is that <5> when this evaluates to true
<5> there's no Subject: ... line <6> making a variable out of a sed argument.. hrm <5> well, i removed that check and now it works :P <5> but... <5> that check made sense anyway <6> what is confusing to me is escaping the t... \t <6> what is $s = to? <5> isn't it <5> s/... <5> and $ is a modifier which means... <5> hrmm <6> -e '$s/^Subject:[ \t]*//ip/' <6> makes no sense to me in my limeted sed knowledge <5> neither for me <6> $ in sed matches to the end of a line <6> -e 's/^...... makes sense to me <6> and the $ after the first / does too, but not before it <6> paste me a sample line from tmp/quilt_mail.Do69ix <6> maybe looking at what it is trying to manipulate might help <5> Message-Id: <20060511005414.124863000@polimi.it> <5> User-Agent: quilt/0.44-1 <5> Date: Thu, 11 May 2006 02:54:14 +0200 <5> From: stefano.brivio@polimi.it <5> To: st3@riseup.net <5> Cc: <5> Bcc: <5> Subject-Prefix: [patch @num@/@total@] <5> Subject: Subject: morte <5> that's all <6> k <6> sed -n -e '/^$/q' [looks like if it finds a blank line sed quits btw] <6> try taking the i out of ip <6> i dont see where it is a vaild arg in the man pages <5> no way <6> you are talking to a semi retard when it comes to regular expressions :) <6> i am confused about the [ \t] thing <6> [^a-zA-Z]* / would match anything starting with a letter up to the first space <6> \ is an escape for any metacharacter <6> . * ^ $ and / <6> and t is not a metacharater, so escaping it makes not sense to me <6> unless someone was getting confused with awk or printf when they wrote it :) <5> ++++ sed -ne 's/^Date:[' ']*//p' /tmp/quilt_mail.OSesFg <5> sed: -e expression #1, char 9: unterminated `s' command <5> i get rid of the check for the subject: line... <6> what do you think the point is? going through the temp file and picking out a line with Subject and inserting the subject text only as a variable? <5> last_ts=$(date '+%s' -d "$(sed -ne $'s/^Date:[ \t]*//p' $introduction)") <5> e.g. this is needed to extract a timestamp... <5> see: <5> # Remember the timestamp of the last message sent. For each message, <5> # increment the timestamp by one second and wait with sending until <5> # that time has arrived. This allows MUAs to show the messages in the <5> # correct order. <6> lol <6> man ok its appending the current date to the output of the sed statement <6> gonna try something on my box <5> this is from quilt-0.45... <5> ehr <5> 0.44 <7> hiya, from a fresh install, i used make oldconfig, does this mean when i make menuconfig it has already imported my old/previously select modules etc? <6> sed -ne $'s/^Date:[ \t]*//p' Finds a line that starts with Date and removes that word but keeps the rest <6> that i just tested <5> and it works on your box? <6> no, playing with a sed statement <5> ok, i mean, that sed statement actually works? <6> cat depcleaned | sed -ne 's/media-*//p' <6> is what i used <5> ok <6> anything that started with media in that file was printed, but the media portion was stripped <5> this could be the way to go...
Return to
#kernel or Go to some related
logs:
#openzaurus #web #css aurora php5 DSL580 #linux w3schools and gmtime
quiznos cpu #python #linuxhelp
|
|