What do you mean ".pkg" ?
Yay, unsolicited random "package" links. I have no idea what we are looking at here.Cheers,Franco
The problem is:1. not sure what this file is as it does not come from a FreeBSD repo nor does it look like one.2. there is no context, download page, etc. describing what this does when keeping (1.) in mind.Cheers,Franco
WarningCan not open the files as [Xar] archiveThe file is open as [xz] archive
set test_output_1='"Eltrona Interdiffusion s.a. - Luxembourg","10779","1.673","0.586","0","60262263","32162522","564697440","243358734","https://www.speedtest.net/result/c/d3cb54fb-6f9f-4dca-ac5f-3fa5798e06d3"'echo $test_output_1 | awk -v FPAT='([^,]*)|(\"[^\"]+\")' '{for (i=1; i<=NF;i++) print i, "<" $i ">"}'
1 <"Eltrona Interdiffusion s.a. - Luxembourg">2 <"10779">3 <"1.673">4 <"0.586">5 <"0">6 <"60262263">7 <"32162522">8 <"564697440">9 <"243358734">10 <"https://www.speedtest.net/result/c/d3cb54fb-6f9f-4dca-ac5f-3fa5798e06d3">
1 <"Eltrona>2 <Interdiffusion>3 <s.a.>4 <->5 <Luxembourg","10779","1.673","0.586","0","60262263","32162522","564697440","243358734","https://www.speedtest.net/result/c/d3cb54fb-6f9f-4dca-ac5f-3fa5798e06d3">
echo $test_output_1 | awk '{gsub("\t","@")} {print}'
SYNOPSIS awk [-safe] [-V] [-d[n]] [-F fs] [-v var=value] [prog | -f progfile] file ...DESCRIPTION awk scans each input file for lines that match any of a set of patterns specified literally in prog or in one or more files specified as -f progfile. With each pattern there can be an associated action that will be performed when a line of a file matches the pattern. Each line is matched against the pattern portion of every pattern-action statement; the associated action is performed for each matched pattern. The file name `-' means the standard input. Any file of the form var=value is treated as an assignment, not a filename, and is executed at the time it would have been opened if it were a filename. The options are as follows: -d[n] Debug mode. Set debug level to n, or 1 if n is not specified. A value greater than 1 causes awk to dump core on fatal errors. -F fs Define the input field separator to be the regular expression fs. -f progfile Read program code from the specified file progfile instead of from the command line. -safe Disable file output (print >, print >>), process creation (cmd | getline, print |, system) and access to the environment (ENVIRON; see the section on variables below). This is a first (and not very reliable) approximation to a "safe" version of awk. -V Print the version number of awk to standard output and exit. -v var=value Assign value to variable var before prog is executed; any number of -v options may be present. The input is normally made up of input lines (records) separated byroot@bart:/var/prtg/scriptsxml # awk -Vawk: unknown option -V ignoredawk: no program given