From c7b94cf33f89d899b306daefaebbbbecc6de64a4 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Fri, 20 Jan 2006 00:34:52 +0000 Subject: [PATCH] make indent_options.sh write to .indent.pro git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@414 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- indent_options.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/indent_options.sh b/indent_options.sh index 48c54e722f..da67165ba4 100755 --- a/indent_options.sh +++ b/indent_options.sh @@ -1,4 +1,4 @@ #!/bin/bash -echo -n "-brs -npsl -di0 -br -ce -d0 -cli0 -npcs -nfc1 -ut -i4 -ts4 -l120 -cs -T size_t " > indent.pro -grep typedef src/include/*.h | grep switch_ | grep -v "\*\|{" | perl -ne '@l = split; $l[2] =~ s/;//g ; print "-T $l[2] "' >> indent.pro -grep "} switch_" src/include/*.h | perl -ne '@l = split; $l[1] =~ s/;//g ; print " -T $l[1] "' >> indent.pro +echo -n "-brs -npsl -di0 -br -ce -d0 -cli0 -npcs -nfc1 -ut -i4 -ts4 -l120 -cs -T size_t " > .indent.pro +grep typedef src/include/*.h | grep switch_ | grep -v "\*\|{" | perl -ne '@l = split; $l[2] =~ s/;//g ; print "-T $l[2] "' >> .indent.pro +grep "} switch_" src/include/*.h | perl -ne '@l = split; $l[1] =~ s/;//g ; print " -T $l[1] "' >> .indent.pro