Sponsored Content
Full Discussion: Bash of records into file
Top Forums Shell Programming and Scripting Bash of records into file Post 302973231 by znesotomayor on Monday 16th of May 2016 07:06:57 AM
Old 05-16-2016
Hi Sir RudiC,

Would you mind explaining it to me?

Thanks,
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Count No of Records in File without counting Header and Trailer Records

I have a flat file and need to count no of records in the file less the header and the trailer record. I would appreciate any and all asistance Thanks Hadi Lalani (2 Replies)
Discussion started by: guiguy
2 Replies

2. UNIX for Dummies Questions & Answers

Use records from one file to delete records in another file

file_in_1: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 file_in_2: 9 10 11 12 21 22 23 24 1 2 3 4 17 18 19 20 file_out: (5 Replies)
Discussion started by: kenneth.mcbride
5 Replies

3. Shell Programming and Scripting

Based on num of records in file1 need to check records in file2 to set some condns

Hi All, I have two files say file1 and file2. I want to check the number of records in file1 and if its atleast 2 (i.e., 2 or greater than 2 ) then I have to check records in file2 .If records in file2 is atleast 1 (i.e. if its not empty ) i have to set some conditions . Could you pls... (3 Replies)
Discussion started by: mavesum
3 Replies

4. UNIX for Dummies Questions & Answers

Bash script to extract spf records

Hello I am trying to generate a script to run on worldwide firewalls. I need the spf block for large sites like google, etc so I can essentially whitelist google sites for users. (Google here is just an example...) Right now I am just testing Bash oneliners to see how I can isolate the... (1 Reply)
Discussion started by: mbubb
1 Replies

5. Shell Programming and Scripting

Bash Scripting Search For Records

Hi, I urgently need help with an assignment I must complete by tomorrow. I started Bash Scripting yesterday so am a complete newbie. I don't have time to teach myself Bash scripting so please don't redirect me to some tutorials. The assignment I have to do involves the following: the aim... (1 Reply)
Discussion started by: isxrc
1 Replies

6. Shell Programming and Scripting

count and compare no of records in bash shell script.

consider this as a csv file. H,0002,0002,20100218,17.25,P,barani D,1,2,3,4,5,6,7,8,9,10,11 D,1,2,3,4,5,6,7,8,9,10,11 D,1,2,3,4,5,6,7,8,9,10,11 D,1,2,3,4,5,6,7,8,9,10,11 D,1,2,3,4,5,6,7,8,9,10,11 T,5 N i want to read the csv file and count the number of rows that start with D and... (11 Replies)
Discussion started by: barani75
11 Replies

7. UNIX for Dummies Questions & Answers

Grep specific records from a file of records that are separated by an empty line

Hi everyone. I am a newbie to Linux stuff. I have this kind of problem which couldn't solve alone. I have a text file with records separated by empty lines like this: ID: 20 Name: X Age: 19 ID: 21 Name: Z ID: 22 Email: xxx@yahoo.com Name: Y Age: 19 I want to grep records that... (4 Replies)
Discussion started by: Atrisa
4 Replies

8. Shell Programming and Scripting

Deleting duplicate records from file 1 if records from file 2 match

I have 2 files "File 1" is delimited by ";" and "File 2" is delimited by "|". File 1 below (3 record shown): Doc1;03/01/2012;New York;6 Main Street;Mr. Smith 1;Mr. Jones Doc2;03/01/2012;Syracuse;876 Broadway;John Davis;Barbara Lull Doc3;03/01/2012;Buffalo;779 Old Windy Road;Charles... (2 Replies)
Discussion started by: vestport
2 Replies

9. Shell Programming and Scripting

Compare two files with different number of records and output only the Extra records from file1

Hi Freinds , I have 2 files . File 1 |nag|HYd|1|Che |esw|Gun|2|hyd |pra|bhe|3|hyd |omu|hei|4|bnsj |uer|oeri|5|uery File 2 |nag|HYd|1|Che |esw|Gun|2|hyd |uer|oi|3|uery output : (9 Replies)
Discussion started by: i150371485
9 Replies

10. Shell Programming and Scripting

Separate records of a file on 2 types of records

Hi I am new to shell programming in unix Please if I can provide help. I have a file structure of a header record and "N" detail records. The header record will be the total number of detail records I need to split the file in 2: One for the header Another for all detail records Could... (1 Reply)
Discussion started by: jamcogar
1 Replies
DOVECOT(1)							      Dovecot								DOVECOT(1)

NAME
dovecot - a secure and highly configurable IMAP and POP3 server SYNOPSIS
dovecot [-Fp] [-c config-file] dovecot -a [-c config-file] dovecot -n [-c config-file] dovecot --build-options dovecot --help dovecot --hostdomain dovecot --version dovecot reload dovecot stop DESCRIPTION
Dovecot is an open source IMAP and POP3 server for Linux/UNIX-like systems, written with security primarily in mind. Dovecot is an excel- lent choice for both small and large installations. It's fast, simple to set up, requires no special administration and it uses very lit- tle memory. OPTIONS
-a Dump all configuration settings to stdout and exit successfully. The same as doveconf -a. -c config-file Start dovecot with an alternative configuration. -F Run dovecot in foreground, do not daemonize. -n Dump non-default settings to stdout and exit successfully. The same as doveconf -n. -p Prompt for the ssl key password for the configured ssl_key on startup. --build-options Show Dovecot's build options and exit successfully. --help Print a usage message to stdout and exit successfully. --hostdomain Shows the current host.domain name of the system. If the domain lookup should fail for some reason, only the hostname will be shown. --version Show Dovecot's version and exit successfully. COMMANDS
reload Force dovecot to reload its configuration. stop Shutdown dovecot and all its child processes. When shutdown_clients is set to no, existing sessions will continue to use the old settings, after a dovecot reload. Also all sessions will keep alive after a dovecot stop. By default all active sessions will be shut down. SIGNALS
Dovecot handles the following signals as described: HUP Force dovecot to reload its configuration. INT Shutdown dovecot and all its child processes. TERM Shutdown dovecot and all its child processes. USR1 Force dovecot to reopen all configured log files (log_path, info_log_path and debug_log_path). The signals ALARM and PIPE are ignored. FILES
/etc/dovecot/dovecot.conf Dovecot's main configuration file. /etc/dovecot/dovecot-ldap.conf.ext Dovecot's LDAP authdb/userdb module configuration file. /etc/dovecot/dovecot-sql.conf.ext Dovecot's SQL authdb/userdb module configuration file. /etc/dovecot/dovecot-dict-sql.conf.ext Dovecot's dict configuration with SQL-backend. /etc/dovecot/conf.d/auth-*-conf.ext Configuration files of different authentication modules. /etc/dovecot/conf.d/*.conf Configuration files of different services and settings. REPORTING BUGS
Report bugs, including doveconf -n output, to the Dovecot Mailing List <dovecot@dovecot.org>. Information about reporting bugs is avail- able at: http://dovecot.org/bugreport.html AUTHOR
Dovecot <http://dovecot.org> and its manual pages were written by the Dovecot authors <http://dovecot.org/doc/AUTHORS>, mainly Timo Sir- ainen <tss at iki.fi>, and are licensed under the terms of the MIT and LGPLv2.1 licenses, see <http://dovecot.org/doc/COPYING> for details. SEE ALSO
doveadm(1), doveconf(1), dovecot-lda(1), dsync(1) Dovecot v2.2 2013-08-06 DOVECOT(1)
All times are GMT -4. The time now is 01:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy