diff options
-rw-r--r-- | sfeed.1 | 4 | ||||
-rw-r--r-- | sfeed.5 | 4 | ||||
-rw-r--r-- | sfeedrc.5 | 2 |
3 files changed, 5 insertions, 5 deletions
@@ -23,8 +23,8 @@ SPACE character. Control characters are removed. .Pp The content field can contain newlines and these are escaped. -TABs, newlines and '\\' are escaped with '\\', so it becomes: '\\t', '\\n' -and '\\\\'. +TABs, newlines and '\e' are escaped with '\e', so it becomes: '\et', '\en' +and '\e\e'. Other whitespace characters except spaces are removed. Control characters are removed. .Pp @@ -17,8 +17,8 @@ SPACE character. Control characters are removed. .Pp The content field can contain newlines and these are escaped. -TABs, newlines and '\\' are escaped with '\\', so it becomes: '\\t', '\\n' -and '\\\\'. +TABs, newlines and '\e' are escaped with '\e', so it becomes: '\et', '\en' +and '\e\e'. Other whitespace characters except spaces are removed. Control characters are removed. .Pp @@ -160,7 +160,7 @@ file: # fetch(name, url, feedfile) fetch() { # allow for 1 redirect, hide User-Agent, timeout is 15 seconds. - curl -L --max-redirs 1 -H "User-Agent:" -f -s -m 15 \\ + curl -L --max-redirs 1 -H "User-Agent:" -f -s -m 15 \e "$2" 2>/dev/null } .Ed |