Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
66687fb2
Commit
66687fb2
authored
Jul 28, 2000
by
Andreas Gustafsson
Browse files
replaced nonportable shell substitution with
sed command
parent
5f3375c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
util/sanitize_all.sh
View file @
66687fb2
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
# $Id: sanitize_all.sh,v 1.
3
2000/07/28 0
1:26:23
gson Exp $
# $Id: sanitize_all.sh,v 1.
4
2000/07/28 0
5:42:36
gson Exp $
PERL
=
perl5
PERL
=
perl5
...
@@ -26,7 +26,8 @@ find . -name '*.[ch]' | xargs $PERL util/sanitize.pl $*
...
@@ -26,7 +26,8 @@ find . -name '*.[ch]' | xargs $PERL util/sanitize.pl $*
find
.
-name
'*.in'
| xargs
$PERL
util/sanitize.pl
$*
find
.
-name
'*.in'
| xargs
$PERL
util/sanitize.pl
$*
for
file
in
`
find
.
-name
'*.dirty'
`
for
file
in
`
find
.
-name
'*.dirty'
`
do
do
$PERL
util/sanitize.pl - <
$file
>
${
file
/.dirty/
}
clean
=
`
echo
$file
|
sed
's/\.dirty$//'
`
$PERL
util/sanitize.pl - <
$file
>
$clean
rm
$file
rm
$file
done
done
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment