potreste dirmi nello specifico cosa fanno queste due stringhe?
Codice: Seleziona tutto
CODIFICA = $(curl -s $1 | tr -d '"' | grep -oE 'charset=[[:alnum:]\"-]+' | cut -d= -f2 | tr [:lower:] [:upper:] | tail -1)
lynx -dump $1 | iconv -f $CODIFICA -t UTF-8 | tr [[:upper:]] [[:lower:]] | tr [[:punct:]][[:space:]] '\n' | sort | grep -v ^$ | uniq -c | sort -nr
Codice: Seleziona tutto
curl: no URL specified!
curl: try 'curl --help' or 'curl --manual' for more information
./analizzatoreFreq2.sh: line 5: CODIFICA: command not found
iconv: conversion from -t unsupported
iconv: try 'iconv -l' to get the list of supported encodings

