
Хотите узнать, какова функция @
знака? Вот пример команды,
curl -w "@curl-format.txt" -o /dev/null -s "http://wordpress.com/"
Вот еще похожие фоны,
решение1
это просто означает чтение формата из указанного файла.
из руководства:
-w, --write-out <format> Defines what to display on stdout after a completed and successful operation. The format is a string that may contain plain text mixed with any number of variables. The string can be specified as "string", to get read from a particular file you specify it "@filename" and to tell curl to read the format from stdin you write "@-".
Использование @ в этом случае встречается довольно часто, curl использует его в нескольких местах, другие команды тоже.