blob: afba8df1f84d8eb0c6f43213d55d93eaa388dec8 (
plain)
1
2
3
4
5
6
7
8
9
10
|
## vim:ft=zsh:foldmethod=marker
if [ -z "$1" ]; then
sed 's#^\(..\)\(..\).*#/srv/snapshot.debian.org/farm/\1/\2/&#'
else
while [ -n "$1" ]; do
echo "$1" | sed 's#^\(..\)\(..\).*#/srv/snapshot.debian.org/farm/\1/\2/&#'
shift
done
fi
|