now all in one repo to avoid an explosion of git repos for the blog
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
|
||||
|
||||
This directory contains the scripts:
|
||||
* [processlinux](processlinux): A script that converts the output of the linux realtek dump to the format expected for verbs in the firmware patch file.
|
||||
* [processwindows](processwindows): A script that processes the realtek dump taken on windows and converts it to the verb format erquired by the firmware patch file.
|
||||
Executable
+16
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
|
||||
awk '
|
||||
/^Node/ {
|
||||
node = $2
|
||||
next
|
||||
}
|
||||
|
||||
/ *Coeff/ {
|
||||
gsub(/^ *Coeff /, "")
|
||||
gsub(/:/, "")
|
||||
print node " " $0
|
||||
}
|
||||
|
||||
' "$@"
|
||||
|
||||
Executable
+18
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
awk '
|
||||
/Wid=/ {
|
||||
node=$2
|
||||
gsub(/^.*\[/, "", node)
|
||||
gsub(/\].*$/, "", node)
|
||||
#print node
|
||||
next;
|
||||
}
|
||||
|
||||
/^Index/ {
|
||||
if (node <= "0x26" ) {
|
||||
print node " " $2 " " $3
|
||||
}
|
||||
}
|
||||
' "$@"
|
||||
|
||||
Reference in New Issue
Block a user