Citace od: Kit kdy 02. 11. 2016, 15:49:32Kód [Vybrat] RozbalitE173: 1 more file to edit
E173: 1 more file to edit
Citace od: Martin_P kdy 02. 11. 2016, 16:28:30A nešlo by využít něco z této dokumentace?Jinak tohle je spíš pro zajímavost - asi nemá smysl to roubovat na Vim, když existují jiná, funkční řešení. :-)
$ vim:args *.php:argdo set nobomb | w
Citace od: karlik kdy 02. 11. 2016, 18:06:23vim -e -c ':set nobomb' -c ':wq' nějaký.soubor
vim -e -c ':arg **/*.php' -c ':argdo set nobomb | wq'
Citace od: Kit kdy 02. 11. 2016, 13:52:37Ještě jsem našel jedno elegantní řešení:Kód [Vybrat] Rozbalitfind . -type f -name "*.php" -print0 | xargs -0 bomstrip-files
find . -type f -name "*.php" -print0 | xargs -0 bomstrip-files
bomstrip-files *.php
Citace od: ByCzech kdy 03. 11. 2016, 00:36:24Citace od: Kit kdy 02. 11. 2016, 13:52:37Ještě jsem našel jedno elegantní řešení:Kód [Vybrat] Rozbalitfind . -type f -name "*.php" -print0 | xargs -0 bomstrip-fileselegantnější mi přijde:Kód [Vybrat] Rozbalitbomstrip-files *.php
Citace od: Kit kdy 03. 11. 2016, 01:14:17Samotný skript bomstrip-files neumí procházet podadresáře.