Initial import of the CDE 2.1.30 sources from the Open Group.
This commit is contained in:
9
cde/admin/IntegTools/dbTools/uncomment
Executable file
9
cde/admin/IntegTools/dbTools/uncomment
Executable file
@@ -0,0 +1,9 @@
|
||||
#! /bin/ksh
|
||||
|
||||
#
|
||||
# Script to remove comments and blank lines from ".lst" files
|
||||
# and coalesce multiple blanks/tabs into a single blank
|
||||
#
|
||||
|
||||
cat $@ | egrep -v '^[ ]*#|^[ ]*$' | sed 's/[ ][ ]*/ /g'|\
|
||||
sed 's/ $//'
|
||||
Reference in New Issue
Block a user