File: show_duplicate_import_module.sh

package info (click to toggle)
kde-dev-scripts 4%3A25.04.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,612 kB
  • sloc: perl: 15,615; lisp: 5,627; sh: 4,560; python: 3,892; ruby: 1,386; makefile: 13; sed: 9
file content (10 lines) | stat: -rwxr-xr-x 183 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
# Copyright Laurent Montel <montel@kde.org> 2023

list_qml=`find -iname '*.qml'`;
for f in $list_qml; do
	echo "file $f";
	grep -w "import.*$" $f | sort
	echo "end";
done;