[aur-general] Is it OK to package oneliners?

Xyne xyne at archlinux.ca
Sun Sep 1 02:42:18 EDT 2013


Karol Blazewicz wrote:

>Are we OK with packages like https://aur.archlinux.org/packages/last-git/ ?
>Unless I'm missing something it's just
>https://raw.github.com/vanceza/last/master/last
>
>BTW, I don't understand what does it do & /usr/bin/last-line doesn't
>seem to work.
>$ echo 1 2 3
>1 2 3
>$ history 2 | head -n1 | tr -s ' ' | cut -d ' ' -f"4-"
>1 2 3
>$ cat foo
>cat: foo: Is a directory
>$ history 2 | head -n1 | tr -s ' ' | cut -d ' ' -f"4-"
>foo

Deleted with the following message:

>A single-line shell command is not worth its own package, let alone a project on git hub. Such commands are better off as aliases.

Seeing that was definitely a skypalming wtf moment.

Regards,
Xyne




More information about the aur-general mailing list