Re: [dev] Opinions on GNU stow

From: Josuah Demangeon <mail_AT_josuah.net>
Date: Fri, 01 Sep 2017 14:25:43 +0200

> In fact, I was thinking of writing a GNU Stow drop in replacement in
> Suckless-style C when I find some time (GNU Stow is written in Perl, I
> believe).

I am always a bit confused when I hear about GNU stow. Does it provide
more feature than this:

ETC=$(cd "${0%/*}" && pwd)
find "$ETC" -name .git -prune -o -path "$ETC/.*" | while IFS='' read -r
path
do
        [ -d "$path" ] && mkdir -p "$HOME/${path#$ETC}"
        [ -f "$path" ] && ln -sf "$path" "$HOME/${path#$ETC}"
done
Received on Fri Sep 01 2017 - 14:25:43 CEST

This archive was generated by hypermail 2.3.0 : Fri Sep 01 2017 - 14:36:42 CEST