Linux preempt-rt

Check our new training course

Real-Time Linux with PREEMPT_RT

Check our new training course
with Creative Commons CC-BY-SA
lecture and lab materials

Bootlin logo

Elixir Cross Referencer


# Depmod output may be hard to diff.
# This script sorts dependencies within "xx.ko: yy.ko zz.ko" lines,
# and sorts all lines too.
# Usage:
# [./busybox] depmod -n | ./ | sort >OUTFILE
# and then you can diff OUTFILEs. Useful for comparing bbox depmod
# with module-init-tools depmod and such.

while read -r word rest; do
    if ! test "${word/*:/}"; then
	echo -n "$word "
	echo "$rest" | xargs -n1 | sort | xargs
	echo "$word $rest";