mirror of
https://github.com/opnsense/src.git
synced 2026-03-01 12:51:07 -05:00
11 lines
406 B
Awk
11 lines
406 B
Awk
{ request = request "\n" $0 }
|
|
|
|
END {
|
|
BLASTService = "/inet/tcp/0/www.ncbi.nlm.nih.gov/80"
|
|
printf "POST /cgi-bin/BLAST/nph-blast_report HTTP/1.0\n" |& BLASTService
|
|
printf "Content-Length: " length(request) "\n\n" |& BLASTService
|
|
printf request |& BLASTService
|
|
while ((BLASTService |& getline) > 0)
|
|
print $0
|
|
close(BLASTService)
|
|
}
|