initial import of changes from 9front bikeshedding; bundle rc-httpd
This commit is contained in:
parent
6d3bcc867c
commit
a99fa8b44f
46 changed files with 1061 additions and 572 deletions
2
bin/werclib.rc
Normal file → Executable file
2
bin/werclib.rc
Normal file → Executable file
|
|
@ -102,7 +102,7 @@ fn get_html_title {
|
|||
|
||||
# As a backup we might want to pick the first 'non-tag' text in the file with:
|
||||
if(~ $"t '')
|
||||
t=`{sed -n -e 's/^[ ]*(<[^>]+>)*([^<]+).*/\2/p; 32q' < $1 | sed 1q}
|
||||
t=`{sed -n -e 's/^(<[^>]+>)*([^<]+).*/\2/p; 32q' < $1 | sed 1q}
|
||||
|
||||
echo $t
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue