Last active
December 1, 2016 18:32
-
-
Save annikoff/990faa7433e9c1d960b26f77e9c2ef3a to your computer and use it in GitHub Desktop.
Добавление текста в начало файлов
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for f in **/*.@(rb) ;do | |
sed -i -e '1i# frozen_string_literal: true\' $f | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment