We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce881a3 commit 7735cdaCopy full SHA for 7735cda
fixnewlines.sh
@@ -0,0 +1,11 @@
1
+#!/bin/bash
2
+
3
+expand_func () {
4
+ dos2unix -n "$1" "$1.tmp"
5
+ mv "$1.tmp" "$1"
6
+}
7
8
+export -f expand_func
9
10
+find . -name \*.cs -exec bash -c 'expand_func {}' \;
11
fixtabs.sh
+ expand -t 4 "$1" > "$1.tmp"
+find src -name \*.cs -exec bash -c 'expand_func {}' \;
0 commit comments