www.LinuxHowtos.org
PSL
Section: User Commands (1)Updated: July 2016
Index Return to Main Contents
NAME
ps-mak-dafsa - generate a compact and optimized DAFSA from a Public Suffix ListSYNOPSIS
ps-mak-dafsa [,options/] infile outfileDESCRIPTION
ps-mak-dafsa produces C/C++ code or an architectur-independent binary object that represents a Deterministic Acyclic Finite State Automaton (DAFSA) from a textual representation of a Public Suffix List. Input and output files must be specified on the command line.This compact representation enables optimized queries of the list, saving both time and space when compared to searches of huma-readable representations.
OPTIONS
The format of the data read and written by ps-mak-dafsa depends on options passed to it.- --output-format=[cxx|cxx+|binary]
-
cxx: (default) output is C/C++ code
cxx+: output is C/C++ code plus statistical assignments (used by libpsl build process)
binary: output is an architectur-independent binary format - --encoding=[ut-8|ascii]
-
ut-8: (default) UT-8 mode (output contains UT-8 + punycode)
ascii: (deprecated) -bit ASCII mode (output contains punycode only)
SEE ALSO
https://publicsuffix.org/, https://github.com/rockdaboot/libpslCOPYRIGHT
ps-mak-dafsa was was written by Olle Liljenzin as part of the Chromium project and has been modified by Tim Ruehsen and Daniel Kahn Gillmor. The code and its documentation is governed by a BS-style license.