Sponsored Content
Full Discussion: mbox ascii mail text file ?
Top Forums Shell Programming and Scripting mbox ascii mail text file ? Post 302197096 by era on Tuesday 20th of May 2008 07:46:48 AM
Old 05-20-2008
Could be either; depends on how you configured them. It doesn't look like any default value of Procmail's but maybe your system is configured to set up Procmail that way. Do you get log files? By your description, I guess fetchmail doesn't write anything, but passes everything to procmail; and in the absence of any explicit configuration, Procmail will write to where-ever $DEFAULT points to.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Send text file to mail

I have a utility that opens a telnet session and allows me to execute commands through a script. The utility allows me to output to a text file whatever is outputted to screen. This utility runs from a DOS prompt in Windows 95/98, NT or 2000. How can I mail text file this to a certain user. I... (2 Replies)
Discussion started by: petrosi
2 Replies

2. UNIX for Dummies Questions & Answers

Creating flat text file (ASCII)

Hi everybody. I need help and I hope someone is willing to help me out here. My wholesale company is currently moving to new software. The old software is running on a UNIX platform. We need to migrate data from the UNIX system, but our former software provider refuses to assist the data... (5 Replies)
Discussion started by: Wdonero
5 Replies

3. Shell Programming and Scripting

How to convert English text file to ASCII File?

file abc abc: English text I want to convert the above into file abc file: ascii text (1 Reply)
Discussion started by: laknar
1 Replies

4. Programming

Reading a binary file in text or ASCII format

Hi All, Please suggest me how to read a binary file in text or ASCII format. thanks Nagendra (3 Replies)
Discussion started by: Nagendra
3 Replies

5. Shell Programming and Scripting

ASCII Text formatting

Hi All, I have a requirement to create a formatted text. That is., I have a plain text composed to send it through an Email using mailx. I need to change the formatting of the text like BOLD, ITALIC, UNDERINED, COLOURED, INDENT etc., First of all, is it possible in UNIX? If yes, please let... (3 Replies)
Discussion started by: mohan_kumarcs
3 Replies

6. Shell Programming and Scripting

Mail text appending to previous mail text

The following is an extract of code I wrote to produce an email report of accounts that are about to expire. It works fine except each time I run it the output is appended to all text from the previous mail that was sent. Can anybody see what I'm doing wrong? paexpire=`sqlplus -s... (2 Replies)
Discussion started by: runnerpaul
2 Replies

7. UNIX for Dummies Questions & Answers

ArcGIS shapefile *.dbf file to ascii text

Okay, I search around and couldn't find what I needed, so here goes: I have a series of ArcGIS point shapefiles. If I open them in Excel I can save as an Excel or text file and get a 2 column list: POINTID | GRID_CODE 1 | 2.34234 2 | 4.3425 3 | 6.32456 etc... The problem is that I... (3 Replies)
Discussion started by: jbrandt1979
3 Replies

8. Shell Programming and Scripting

Import ASCII 28 delimited text file

I have an ASCII 28 delimited text file(non-printable delimiter) with 4 columns along with the header.I need to open this text file in Excel or any other tool to view each column content. Please help.. Thanks (6 Replies)
Discussion started by: aneeta13
6 Replies

9. Shell Programming and Scripting

Convert Hex to Ascii in a Ascii file

Hi All, I have an ascii file in which few columns are having hex values which i need to convert into ascii. Kindly suggest me what command can be used in unix shell scripting? Thanks in Advance (2 Replies)
Discussion started by: HemaV
2 Replies
CCZE(1) 							       CCZE								   CCZE(1)

NAME
ccze - A robust log colorizer SYNOPSIS
ccze [options] <logfile DESCRIPTION
This manual page documents briefly the ccze utility, which is a drop-in replacement for colorize, but written in C, to be faster and less resource-hungry. The goal was to be fully backwards compatible, yet superior with respect to speed and features. OPTIONS
These programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below. -a, --argument PLUGIN=ARGUMENTS Use this option to pass ARGUMENTS to the specified PLUGIN. The argument list is whitespace separated. -A, --raw-ansi If one wants to enable raw ANSI color sequences instead of using curses, this option does just that. -c, --color KEY=COLOR Set the color of the keyword KEY to COLOR, like one would do in one of the configuration files. -C, --convert-date Convert unix timestamp to readable date format (in oops and squid logs, for example). -F, --rcfile rcfile Read rcfile as a configuration file upon startup, instead of the default ones. -h, --html Instead of colorising the input onto the console, output it in HTML format instead. -l, --list-plugins List all available (loaded) plugins, along with their type and a short description. -m, --mode mode Change the output mode. Available modes are curses, ansi and html. -o, --options OPTIONS... CCZE is able to toggle some of its features with this option. You can toggle the scroll, wordcolor, lookups, and transparent fea- tures, or you can fiddle with cssfile. All of these are enabled by default, except cssfile. One can turn them off by prefixing the option with a "no". With scroll, one can enable or disable scrolling. If the output is not redirected, it is wise to leave it enabled. The wordcolor option makes ccze search for different keywords in unparsed input, and color those too. Since it is quite fast, and makes the output look better, it is recommended to leave this enabled. However, lookups is an option that might be better to disable. When on, ccze will try to look up usernames, service names, and lots of other stuff, which will slow down coloring a great deal. If one is piping a long log through ccze, this option might be turned off to speed up the process. With the transparent option, one can make CCZE treat black background colors as transparent - that means, a black background will appear transparent in a similar X terminal. If turned off, it will appear as black. If cssfile is set, then CCZE will not inline the Cascading Style Sheet information into the outputted HTML, but include a link to the external stylesheet given in this parameter. -p, --plugin PLUGIN While the default action is to load all plugins (see the Plugins section below), when this option is present, only the specified plugins will be loaded. If one knows what kind of log will be piped through ccze, using this option may result in a slight speedup. -r, --remove-facility Syslog-ng puts the facility level before log messages. With this switch, these can be cut off. --help Show summary of options and exit. -V, --version Show version of program. PLUGINS
Different programs have different kind of logs, and every kind of log ccze supports is implemented via a plug-in. They are by default located under /usr/lib/ccze and $HOME/.ccze (so they can be overridden by the user easily). At the moment, the following modules are bundled with the official release: apm For coloring apmd's logs. distcc For coloring distccd's logs. (See distccd(1)) exim For coloring exim's main.log. (See exim(8)) fetchmail For coloring fetchmail's log files. (See fetchmail(1)) ftpstats For coloring ftpStats compatible log files, such as Pure-FTPD's Stats log format. httpd For coloring apache-style access.log and error.log files. (See apache(8)) As a side-effect, all compatible formats, like pure-ftpd(8)'s common-log format is also supported by this plugin. icecast For coloring icecast/icecast.log and icecast/usage.log files. (See icecast(8)) oops For coloring oops/oops.log files. php For coloring php.log files. postfix For coloring postfix logs. (See postfix(1)) procmail For coloring procmail's log file. (See procmail(1)) proftpd For coloring proftpd's access.log and auth.log files. (See proftpd(8)) squid For coloring squid's access.log, store.log and cache.log files. (See squid(8)) sulog For coloring sulog files. (See su(1)) super For coloring super.log files. (See super(1)) syslog For coloring generic syslog messages. (See syslogd(8)) ulogd For coloring ulogd logs. vsftpd For coloring vsftpd.log files. (See vsftpd(8)) xferlog For coloring xferlog files. (See xferlog(5)) FILES
/etc/colorizerc, $HOME/.colorizerc These files are the default configuration files for colorize, and are parsed by ccze for the sake of full compatibility. /etc/cczerc, $HOME/.cczerc This two are the main configuration files, in which one can change the colors used by the program to his liking. See the comments in the beginning of /etc/cczerc for a description on the files' structure. If neither of these files exist on your system, consider using the ccze-dump utility in the source tree, which dumps the default color set to standard output. SEE ALSO
colorize(1) AUTHOR
ccze was written by Gergely Nagy <algernon@bonehunter.rulez.org>, based on colorize by Istvan Karaszi <colorize@spam.raszi.hu>. CCZE 0.2.1 2003-04-24 CCZE(1)
All times are GMT -4. The time now is 12:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy