Re: how to get rid of ^M character using vi

2004-01-25 Thread Dan Welch
On Sun, Jan 25, 2004 at 09:43:21AM +, marlon corleone wrote: how do i get rid of this annoying character ^M using vi, in pico i used the arguments '-w' but what about in vi? This colon (ed) command works in FreeBSD's included vi's command mode: :%s/^M//g followed by pressing Enter. The

Re: nss_ldap, sendmail and ls

2004-01-25 Thread Dan Welch
On Sun, Jan 25, 2004 at 02:09:29PM -0500, Andrea Venturoli wrote: Hello. I've built a mailserver with FreeBSD 5.1, which uses nss_ldap for the user database, and sendmail-ldap from the port collection. Everything works fine except forward files. I've arranged sendmail to keep them all in one

Re: How to use LDAP passwd at 4.9 ?

2004-01-10 Thread Dan Welch
On Wed, Jan 07, 2004 at 01:33:14PM +0100, Frank wrote: snip at last is it possible to modify the /etc/master.passwd file with a shell script to add some entries in it the modify the passwd database WITHOUT using vipw ? I use pw in scripts to avoid vipw. From the manpage: The pw utility

Re: How to get out of Africa?

2003-10-21 Thread Dan Welch
During installation, I accidentally hit Africa for my timezone. I have looked all over the documentation, and I cannot find out to reset my time zone. As root type /stand/sysinstall then select Configure from the menu and TimeZone from the next menu.

Re: SHELL scripts..... HOW TO START LEARN????

2003-09-13 Thread Dan Welch
In my opinion the very best for *beginning* is UNIX SHELL PROGRAMMING by Kochan and Wood and once you have the basics in hand, be sure to consult UNIX POWER TOOLS by Peek, O'Reilly, and Loukides On Sat, Sep 13, 2003 at 03:12:42PM +0400, Denis wrote: Do you happen

Re: cron executes entries twice

2003-07-03 Thread Dan Welch
Another item to check: Faulty time service might produce such duplication. The first cron job would run on the old time; the time updates; it then runs the job again. There would not be a 3rd run because the clock is now correct. On Wed, Jul 02, 2003 at 08:23:30PM -0400, John wrote: For quite