summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-07-05 13:02:53 +0000
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>2012-07-05 13:02:53 +0000
commit55758cce818b3b319f8754171576f6aff6b0decd (patch)
tree2d003e10e7d8c5b4cec4435ab8deb0d416329896
parenta7951f8f5f613d09ec6eb7a883c2d4547729768e (diff)
add file with helpful aliases that I use when reformatting with ecrustify
SVN revision: 73343
-rw-r--r--aliases.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/aliases.sh b/aliases.sh
new file mode 100644
index 0000000..cc57862
--- /dev/null
+++ b/aliases.sh
@@ -0,0 +1,8 @@
1cformat() {
2 ecrustify -c svn/trunk/FORMATTING/ecrustify.cfg --replace $@
3 sed -i 's/FOREACH (/FOREACH(/g;s/FREE (/FREE(/g' $@
4}
5hformat() {
6 ecrustify -c svn/trunk/FORMATTING/ecrustify-headers.cfg --replace $@
7 sed -i 's/FOREACH (/FOREACH(/g;s/FREE (/FREE(/g' $@
8}