wok diff fatattr/stuff/fatattr.sh @ rev 22257

updated xorg-xextproto (7.2.1 -> 7.3.0)
author Hans-G?nter Theisgen
date Tue Nov 12 17:24:30 2019 +0100 (2019-11-12)
parents 46a4ae996aa7
children
line diff
     1.1 --- a/fatattr/stuff/fatattr.sh	Thu Jan 29 15:49:38 2015 +0100
     1.2 +++ b/fatattr/stuff/fatattr.sh	Tue Nov 12 17:24:30 2019 +0100
     1.3 @@ -9,7 +9,7 @@
     1.4  case "${1/--/-}" in
     1.5  -s*)	find ${3:-.} -exec fatattr {} \; > ${2:-$ATTRS} ;;
     1.6  -r*)	sed -e 's/^\(.\{0,8\}\)/\1=/' -e ':a;s/^\([^ =]*\)\ /\1/;ta' \
     1.7 -	    -e 's/^/fatattr +/;s/=//' < ${2:-$ATTRS} | sh ;;
     1.8 +	    -e "s/^/fatattr +/;s|= | ${3:-.}/|" < ${2:-$ATTRS} | sh ;;
     1.9  -c*)	cdfat ${2:-.} && $0 -s && find . | cpio -o -H newc ;;
    1.10  -[xe]*)	cdfat ${2:-.} && cpio -idmu && $0 -r && rm -f $ATTRS ;;
    1.11  *)	cat 1>&2 <<EOT