Как подоболочка может возвращать данные в переменной (, а не в файл ), и в то же время выводить разные журналы?

Не знаю, почему curlне работает, но у меня wgetработает:

% wget \
    --header="Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8" \
    --header="Accept-Encoding: gzip, deflate, br" \
    --header="Accept-Language: en-US,en;q=0.9" \
    --header="Cache-Control: no-cache" \
    --header="Connection: keep-alive" \
    --header="Pragma: no-cache" \
    --header="Upgrade-Insecure-Requests: 1" \
    --header="User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.75 Safari/537.36" \
    "https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi?productName=unrealengine"

% ls -l EpicGamesLauncherInstaller.msi\?productName=unrealengine
-rw-r--r-- 1 sweh sweh 33411072 Aug  8 08:55 EpicGamesLauncherInstaller.msi?productName=unrealengine

% file *msi*
EpicGamesLauncherInstaller.msi?productName=unrealengine: Composite Document File V2 Document, Little Endian, Os: Windows, Version 6.1, Code page: 1252, Title: Installation Database, Subject: Epic Games Launcher, Author: Epic Games, Inc., Keywords: Installer, Comments: This installer database contains the logic and data required to install Epic Games Launcher., Create Time/Date: Wed Aug  8 13:15:26 2018, Name of Creating Application: Windows Installer XML Toolset (3.8.1128.0), Security: 4, Template: Intel;1033,1042,1041,2052,1025,1031,1034,1036,1040,1045,1046,1049,1055, Last Saved By: Intel;1033,1042,1041,2052,1025,1031,1034,1036,1040,1045,1046,1049,1055, Revision Number: {2CF87DD4-2327-44B3-81B8-3E85B197848B}1.1.163.0;{3A945EBF-3302-4D14-ABE5-C11696582633}1.1.163.0;{D0769F44-D459-450F-B084-CAE38062C75B}, Number of Pages: 405, Number of Characters: 0
0
22.06.2021, 23:44
0 ответов

Теги

Похожие вопросы