Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: keep empty lines at the end of files?



On Feb 2, 10:03am, Marc Chantreux wrote:
}
} I have some files with very important empty lines at the end of them.
} 
} Is the a clean and short way to *not* trim the file ?

zmodload -i zsh/mapfile
content=${mapfile[ldap_user_passwd]}

I'm not sure, historically speaking, why $(<...) is trimming trailing
blank lines.



Messages sorted by: Reverse Date, Date, Thread, Author