[pacman-dev] [PATCH] ABS - Specify repo or package to download on command-line

Allan McRae allan at archlinux.org
Fri Jul 11 07:54:42 EDT 2008


Hi all,

I figured I could still send patches for ABS here for people to look at 
since this is the address listed in --help output...

Anyway, I mainly wanted a comment on this line:

INCLUDE=$(echo $INCLUDE | tr " " "\n" | sort -u | tr "\n" " ")

which takes $INCLUDE, sorts it and removes duplicate values.  Is there a 
better way to do this?  Everything appears to still work if I don't do 
this but it makes the rsync command much cleaner.

Allan






More information about the pacman-dev mailing list