I have a comma delimited file that sometimes has addresses details in. The problem is that the address detail can be seen as:
"Sample House, Sample Road". When I run a script specifying the file is comma delimited I would like it to ignore comma's that are in between speech marks.
Is this... (2 Replies)
Hi,
I am new to unix shell shell scripting. I have a specific requirement where I need to append comma's based on the max number of column in the file.
Eg:
If my source file look something like this,
sengwa,china
tom,america,northamerica
smith,america
walter
My output file... (8 Replies)
Hi All,
I have output of sql saved in comma separated file.
Now i need to read line by line this file
and assign word to a unix variable for further processing
Eg:
Test file
world, 1, 3, 4
earth,2,3,4,5
moon,1,2,3,4
Output should be
word1= world
word2=1
echo " first word... (7 Replies)
Hi this is my first time posting ever. I'm relatively new in using AWK/SED, I've been trying many a solution. I'm trying to replace the 59th column in a file where if I encounter '' then I would like to replace it with the word NULL.
example
0 , '' , '' , 0 , 195.538462
change it to
0... (5 Replies)
How do you delete cells from a space delimited text file given row and column number? Letś say the row number is r and the column number is c. Thanks! (5 Replies)
Hi All,
I need a shell script which could insert a sequence number column inside a dat file(pipe delimited).
I have the dat file similar to the one as shown below..
|A|B|C||D|E
|F|G|H||I|J
|K|L|M||N|O
|P|Q|R||S|T
As shown above, the column 4 is currently blank and i need to insert sequence... (5 Replies)
Hi,
I have a comma (,) delimited file, in which few fields are enclosed with in double quotes " ". I have to print the records in the file which donot have expected number of field with the line number.
File1
====
name,desgnation,doj,project #header#... (7 Replies)
Hi All,
I have a file which has data like
a,b
c,d
e,f
g,h
And I need to insert a new column at the begining with sequence no( 1 to n)
1,a,b
2,c,d
3,e,f
4,g,h
Please let me know how to acheive this in unix (3 Replies)
Hello Everyone..
I want to replace the retail col from FileI with cstp1 col from FileP if the strpno matches in both files
FileP.txt
... (2 Replies)
Discussion started by: YogeshG
2 Replies
LEARN ABOUT DEBIAN
cyrus-arbitron
ARBITRON(8) System Manager's Manual ARBITRON(8)
*
NAME
arbitron - arbitron mailboxes
SYNOPSIS
arbitron [ -C config-file ] [ -o ] [ -u ] [ -l ] [ -p months ]
[ -d days | -D mmddyyyy[:mmddyyyy] ] mailbox...
DESCRIPTION
Arbitron collects and reports readership statistics for mailboxes on the server. It also optionally prunes the mailboxes of Seen state
for dormant users.
Arbitron produces one line of output per mailbox, reporting the mailbox name followed by a space, followed by the number of readers (and if
-u is specified, followed by a colon and a comma-separated list of the readers userids), and if -o is not specified, another space and the
number of subscribers (and if -u is specified, followed by a colon and a comma-separated list of the subscribers userids). IMPORTANT: This
format is subject to change in future versions.
Each "reader" is a distinct authentication identity which has "s" rights to the mailbox and which has SELECTed the mailbox within either
the past days days or the specified date range. Users are not counted as reading their own personal mailboxes. Personal mailboxes are not
reported unless there is at least one reader other than the mailboxes owner.
Arbitron reads its configuration options out of the imapd.conf(5) file unless specified otherwise by -C.
OPTIONS -C config-file
Read configuration options from config-file.
-o "old way" -- do not report subscribers.
-u Report userids in addition to the count(s).
-l Enable long reporting (comma delimited table consisting of mbox, userid, r/s, start time, end time).
-d days
Count as a reader an authentication identity which has SELECTed the mailbox within days days. Default is 30.
-D mmddyyyy[:mmddyyyy]
Count as a reader an authentication identity which has SELECTed the mailbox within the given date range. The start date and
optional end date are specified as 2-digit month of the year, 2-digit day of the month, and 4-digit year. If the end date is not
specified, then the current system time is used as the end time.
-p months
Prune Seen state for users who have not SELECTed the mailbox within months months. Default is infinity.
FILES
/etc/imapd.conf
CMU Project Cyrus ARBITRON(8)