Commit
70784d51a282ded1541da6a060b564ab40233ccf
Exists in
staging
and in
26 other branches
angular_poc, api-article-archived, api-homepage, api_visitor, article-readonly, caching-rails4, captcha_serpro_plugin, comment_paragraph_api, comments_api_reply, content-manager-hostspot, environment-api, export-comment-paragraph, fix_event_date_issue, fix_multitenancy, fix_profile_wall, fix_string_downcase_and_upcase, fix_upload_files_on_development_environment, json_cookie_serializer, login-captcha, master, new_security, new_video_plugin, pg_search_rank, production, resend_confirmation_email, tasks_keep_filter_params
Removing crappy script
| @@ -1,12 +0,0 @@ |
| @@ -1,12 +0,0 @@ |
1
| -ls -1 *.rb | ( |
| |
2
| - i=1 |
| |
3
| - while read IN; do |
| |
4
| - OUT=$(echo $IN | sed -e "s/^[0-9]\+/$(printf '%03d' $i)/") |
| |
5
| - if [ "$IN" != "$OUT" ]; then |
| |
6
| - echo mv $IN $OUT |
| |
7
| - else |
| |
8
| - echo "# $IN stays untouched" |
| |
9
| - fi |
| |
10
| - i=$[$i + 1] |
| |
11
| - done |
| |
12
| -) |
| |