~ubuntu-branches/ubuntu/oneiric/kde4libs/oneiric-proposed

« back to all changes in this revision

Viewing changes to kate/syntax/data/list-keywords-ldif.sh

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac
  • Date: 2011-07-08 00:08:34 UTC
  • mto: This revision was merged to the branch mainline in revision 247.
  • Revision ID: package-import@ubuntu.com-20110708000834-dr9a8my4iml90qe5
Tags: upstream-4.6.90
Import upstream version 4.6.90

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
 
3
 
list_keywords=./list-keywords-ldif.awk
4
 
schemas="$@"
5
 
 
6
 
echo "          <list name=\"attributetypes\">"
7
 
cat $schemas | $list_keywords | grep "attributetype" | grep -v '^#' | sed -e "s/'//g" | sort -u | awk '{print "                 <item>"$2"</item>"}'
8
 
echo "          </list>"
9
 
echo "          <list name=\"objectclasses\">"
10
 
cat $schemas | $list_keywords | grep "objectclass" | grep -v '^#' | sed -e "s/'//g" | sort -u | awk '{print "                   <item>"$2"</item>"}'
11
 
echo "          </list>"
12