Hashar has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/108018


Change subject: /find_tabs.sh to find puppet manifest using tabs
......................................................................

/find_tabs.sh to find puppet manifest using tabs

A short command that output a report of .pp files containing lines with
leading tabs.

Change-Id: I8439085be77b3893bdc0da3ba8a90afcd5dce7ff
---
A find_tabs.sh
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/18/108018/1

diff --git a/find_tabs.sh b/find_tabs.sh
new file mode 100755
index 0000000..96aeb18
--- /dev/null
+++ b/find_tabs.sh
@@ -0,0 +1 @@
+grep --with-filename --count --perl-regexp '^\t' --include='*.pp' -R .|egrep 
-v :0$|sort -k2 -t: -n

-- 
To view, visit https://gerrit.wikimedia.org/r/108018
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I8439085be77b3893bdc0da3ba8a90afcd5dce7ff
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Hashar <has...@free.fr>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to