Afficher un message
Vieux 29/04/2008, 20h42   #16
Dave B
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: rsync most recent files from large source

On Tuesday 29 April 2008 20:34, Stephane CHAZELAS wrote:

>> Btw, is there a standard equivalent to $'\n'?

>
> For other than \n, there's "$(printf '\x')"
>
> You can do:
>
> IFS='
> '
>
> or
>
> eval "$(printf 'IFS="\n"')"


Ok, but I truly meant something that can be used like a variable, as $'\n',
not just a way to set a variable to \n (I know it does not matter in
practice, but I was just curious).

--
D.
  Réponse avec citation
 
Page generated in 0,05601 seconds with 9 queries