ksh93v- 2013-02-22 does not honor -r with -d ''. Exemple: ## correct behaviour with delim='\n' ## expected ouput is \ \n $ printf '\\\n' | read -r $ printf '%s\n' "$REPLY" | od -c 0000000 \ \n 0000002
## incorrect behaviour with delim='\0' ## expected output is \ \0 $ printf '\\\000' | read -r -d '' $ printf '%s\000' "$REPLY" | od -c 0000000 \0 0000001 Philippe Bergheaud Sauf indication contraire ci-dessus:/ Unless stated otherwise above: Compagnie IBM France Siège Social : 17 avenue de l'Europe, 92275 Bois-Colombes Cedex RCS Nanterre 552 118 465 Forme Sociale : S.A.S. Capital Social : 653.242.306,20 ? SIREN/SIRET : 552 118 465 03644 - Code NAF 6202A _______________________________________________ ast-users mailing list [email protected] http://lists.research.att.com/mailman/listinfo/ast-users
