Timur
Timur
@RedCrazyGhost when working with files, the construction is usually used ``` // Logging to a file. f, _ := os.Create("gin.log") defer f.Close() gin.DefaultWriter = io.MultiWriter(f) ``` I don't want to...
@Alp4ka regular expression for a string in `base64` format
@AntumDeluge @lazka does not work in pipeline Example: add row "127.0.0.1 localhost.example" in /c/windows/system32/drivers/etc/hosts https://github.com/purplesyringa/win-sudo/issues/53 It works! https://github.com/gerardog/gsudo 
> @AntumDeluge @lazka does not work in pipeline Example: add row "127.0.0.1 localhost.example" in /c/windows/system32/drivers/etc/hosts [purplesyringa/win-sudo#53](https://github.com/purplesyringa/win-sudo/issues/53) > > It works! https://github.com/gerardog/gsudo  Sorry. The case described above works on a...
 I probably need a new version of bash
@sskras maybe it's really the `msys2-runtime` version. I'll try to update. 
`pacman -Syuu` didn't help. You may need to update `msys2-w32api-headers`, `msys2-w32api-runtime`, but I've already run `pacman -Syu coreutils` (which also updates w32api among other things).
@sskras run `icalcs` ```sh $ icacls /c/windows/system32/drivers/etc/hosts C:/windows/system32/drivers/etc/hosts NT AUTHORITY\СИСТЕМА:(I)(F) BUILTIN\Администраторы:(I)(F) BUILTIN\Пользователи:(I)(RX) ЦЕНТР ПАКЕТОВ ПРИЛОЖЕНИЙ\ВСЕ ПАКЕТЫ ПРИЛОЖЕНИЙ:(I)(RX) ЦЕНТР ПАКЕТОВ ПРИЛОЖЕНИЙ\ВСЕ ОГРАНИЧЕННЫЕ ПАКЕТЫ ПРИЛОЖЕНИЙ:(I)(RX) Успешно обработано 1 файлов; не удалось обработать...
> Is it the desktop PC (where it fails)? Yes. I checked with a colleague at work, we have computers in the same domain, through `sudo chmod 644 /c/windows/system32/drivers/etc/hosts` writing...
@sskras The only difference in the behavior of the system is that it does not pop up windows when starting programs  Maybe that's the point?