[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnurl] 214/222: awk scripts.
From: |
gnunet |
Subject: |
[gnurl] 214/222: awk scripts. |
Date: |
Thu, 07 Nov 2019 00:11:50 +0100 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnurl.
commit 38262bc290b6a534895d5d063e9b95a0877b21fd
Author: ng0 <address@hidden>
AuthorDate: Wed Nov 6 21:53:03 2019 +0000
awk scripts.
---
aux-gnurl/.gitignore | 1 +
aux-gnurl/Makefile | 13 +++++++++++++
aux-gnurl/gnurl0.awk | 8 ++++++++
aux-gnurl/gnurl1.awk | 10 ++++++++++
aux-gnurl/gnurl1.sh | 5 +++++
5 files changed, 37 insertions(+)
diff --git a/aux-gnurl/.gitignore b/aux-gnurl/.gitignore
new file mode 100644
index 000000000..24600083d
--- /dev/null
+++ b/aux-gnurl/.gitignore
@@ -0,0 +1 @@
+!Makefile
diff --git a/aux-gnurl/Makefile b/aux-gnurl/Makefile
new file mode 100644
index 000000000..1a388b706
--- /dev/null
+++ b/aux-gnurl/Makefile
@@ -0,0 +1,13 @@
+all: makefiles allfiles
+
+makefiles:
+ ./gnurl0.awk ../docs/libcurl/opts/Makefile.inc >
../docs/libcurl/opts/Makefile.inc.tmp; mv ../docs/libcurl/opts/Makefile.inc.tmp
../docs/libcurl/opts/Makefile.inc
+
+# manfiles:
+
+allfiles:
+.for _file in ${_ALLFILES}
+ ./gnurl1 ${_file} > ${_file}.tmp ; mv ${_file}.tmp ${_file}
+.endfor
+
+.include <bsd.prog.mk>
diff --git a/aux-gnurl/gnurl0.awk b/aux-gnurl/gnurl0.awk
new file mode 100755
index 000000000..955bc9763
--- /dev/null
+++ b/aux-gnurl/gnurl0.awk
@@ -0,0 +1,8 @@
+#!/usr/bin/awk -f
+
+{
+ gsub("CURLOPT_","GNURLOPT_");
+ gsub("CURLMOPT_","GNURLMOPT_");
+ gsub("CURLINFO_","GNURLINFO_");
+ print $0
+}
diff --git a/aux-gnurl/gnurl1.awk b/aux-gnurl/gnurl1.awk
new file mode 100644
index 000000000..322b08d72
--- /dev/null
+++ b/aux-gnurl/gnurl1.awk
@@ -0,0 +1,10 @@
+/usr/bin/awk -f
+
+{
+ gsub("curl/curl.h","gnurl/curl.h");
+ gsub("TH curl_", "TH gnurl_");
+ gsub("TH CURL", "TH GNURL");
+ gsub("libcurl Manual", "libgnurl Manual");
+ gsub("man3/curl", "man3/gnurl");
+ print $0
+}
diff --git a/aux-gnurl/gnurl1.sh b/aux-gnurl/gnurl1.sh
new file mode 100644
index 000000000..d23ed191e
--- /dev/null
+++ b/aux-gnurl/gnurl1.sh
@@ -0,0 +1,5 @@
+_ALLFILES=$(find .. ! -path '*.git/*' ! -path '*aux-gnurl/**' ! -path '*.der'
! -path '*.in' ! -path '*.Po' ! -path '*.tar*' -type f -exec grep -Il '.' {} \;
| xargs -L 1 echo)
+for f in ${_ALLFILES}; do
+ echo ${f}
+# ./gnurl1 ${f} > ${f}.tmp ; mv ${f}.tmp ${f}
+done
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [gnurl] 210/222: configure: only say ipv6 enabled when the variable is set, (continued)
- [gnurl] 210/222: configure: only say ipv6 enabled when the variable is set, gnunet, 2019/11/06
- [gnurl] 216/222: awk, gnunet, 2019/11/06
- [gnurl] 161/222: asyn-thread: make use of Curl_socketpair() where available, gnunet, 2019/11/06
- [gnurl] 174/222: url: normalize CURLINFO_EFFECTIVE_URL, gnunet, 2019/11/06
- [gnurl] 167/222: KNOWN_BUGS: remove "CURLFORM_CONTENTLEN in an array", gnunet, 2019/11/06
- [gnurl] 190/222: conn-reuse: requests wanting NTLM can reuse non-NTLM connections, gnunet, 2019/11/06
- [gnurl] 185/222: runtests: get textaware info from curl instead of perl, gnunet, 2019/11/06
- [gnurl] 198/222: HTTP3: fix invalid use of sendto for connected UDP socket, gnunet, 2019/11/06
- [gnurl] 169/222: connect: silence sign-compare warning, gnunet, 2019/11/06
- [gnurl] 201/222: url: Curl_free_request_state() should also free doh handles, gnunet, 2019/11/06
- [gnurl] 214/222: awk scripts.,
gnunet <=
- [gnurl] 217/222: awk., gnunet, 2019/11/06
- [gnurl] 219/222: include., gnunet, 2019/11/06
- [gnurl] 212/222: RELEASE-NOTES: synced, gnunet, 2019/11/06
- [gnurl] 222/222: minor, gnunet, 2019/11/06
- [gnurl] 215/222: awk, gnunet, 2019/11/06
- [gnurl] 175/222: tool_operate: Fix retry sleep time shown to user when Retry-After, gnunet, 2019/11/06
- [gnurl] 186/222: tests: add `connect to non-listen` keywords, gnunet, 2019/11/06
- [gnurl] 191/222: appveyor: Use two parallel compilation on appveyor with CMake, gnunet, 2019/11/06
- [gnurl] 196/222: HTTP3: fix Windows build, gnunet, 2019/11/06
- [gnurl] 195/222: appveyor: add --disable-proxy autotools build, gnunet, 2019/11/06