you are viewing a single comment's thread
view the rest of the comments
[–] 7 points 1 year ago (2 children)

Powershell does the opposite, having an alias from ls to whatever the powershell equivalent of dir is.

  • source
  • parent
  • hideshow 4 child comments
  • [–] 18 points 1 year ago (1 child)

    It gets better. PowerShell 5, which is still the default installation on Windows 11, aliases curl and wget to Invoke-WebRequest. The fucked-up part is that Win11 includes the real curl too, but the alias shadows it, and you have to use curl.exe. The even more fucked-up part is that Invoke-WebRequest still uses Internet Explorer to parse the result, and will panic if -UseBasicParsing is not passed every time, or IE isn't installed and initialized.

    I used to develop applications in PowerShell. I still wear the mental scars.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 6 points 1 year ago

    The even more fucked-up part is that Invoke-WebRequest still uses Internet Explorer to parse the result, and will panic if -UseBasicParsing is not passed every time, or IE isn't installed and initialized.

    That is absolutely horrifying.

  • source
  • parent