как я могу запустить и проверить sed и grep инструкции Windows PowerShell?
когда я запускаю Windows PowerShell, и попробуйте проверить sed инструкция на моем файле, это дает следующую ошибку:
The term 'sed' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spellin
g of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:4
+ sed <<<< -r "s/[0-9]/digit/"
+ CategoryInfo : ObjectNotFound: (sed:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Я пытаюсь запустить следующую инструкцию path/sed:
PS C:UsersMeDesktop> cd sed -r "s/[0-9]/a" file.txt
почему это не работает?
Komp






















