File diffit of Package systemd
#!/bin/bash files=("systemd.spec" $(osc api /source/home:lnussel:systemd/systemd/|sed -ne '/files\./s/.*name="\([^"]*\)".*/\1/p')) for f in "${files[@]}"; do diff -u <(osc cat "Base:System/systemd/$f") <(osc cat "home:lnussel:systemd/systemd/$f") done