Debian Developers - Re: Bug in cron postinst

This is Interesting: Free IT Magazines  
Home > Archive > Debian Developers > July 2004 > Re: Bug in cron postinst





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: Bug in cron postinst
Matthias Urlichs

2004-07-30, 7:52 am

Hi, Roland Bauerschmidt wrote:
> find /var/spool/crontab -maxdepth 1 -type f -print | while read ct; do
> ...
> done
>

Don't forget to set IFS="\n" if you do this.
Otherwise you'll miss filenames which start/end with a space.

--
Matthias Urlichs


--
To UNSUBSCRIBE, email to debian-devel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com