projects
/
oweals
/
cde.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'master' of https://git.code.sf.net/p/cdesktopenv/code
[oweals/cde.git]
/
cde
/
admin
/
IntegTools
/
dbTools
/
uncomment
1
#! /bin/ksh
2
3
#
4
# Script to remove comments and blank lines from ".lst" files
5
# and coalesce multiple blanks/tabs into a single blank
6
#
7
8
cat $@ | egrep -v '^[ ]*#|^[ ]*$' | sed 's/[ ][ ]*/ /g'|\
9
sed 's/ $//'