William H. Magill on 4 May 2005 16:46:56 -0000 |
On 04 May, 2005, at 12:09, Sandhu, Suchindra wrote: ... much white space deleted ...Is there a way to evaluate crontab files ? Whenever I edit my crontab, I keep getting error messages such as:
The implication is that you are NOT using an editor (like emacs or vi), but rather a word processor of some sort. (Or possibly some GUI based editor and doing cut and paste operations.) Any Unix/Linux script is one line per line ... not one paragraph per line which is the way virtually every word processor formats -- especially anything from the Windows or Mac world. "Line wrap" is an extreme evil for scripts. Make certain it is turned off, or that you otherwise know you are working with a wrapped line. Personally, I use emacs and set the line length to 80 chars. That way lines display on the screen and I use continuation syntax if I need more than one line for a command. T.T.F.N. William H. Magill # Beige G3 [Rev A motherboard - 300 MHz 768 Meg] OS X 10.2.8 # Flat-panel iMac (2.1) [800MHz - Super Drive - 768 Meg] OS X 10.3.8 # PWS433a [Alpha 21164 Rev 7.2 (EV56)- 64 Meg] Tru64 5.1a # XP1000 [Alpha 21264-3 (EV6) - 256 meg] FreeBSD 5.3 # XP1000 [Alpha 21264-A (EV 6.7) - 384 meg] FreeBSD 5.3 magill@mcgillsociety.org magill@acm.org magill@mac.com whmagill@gmail.com ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|