05-17-2007
Thanks...But what if
That worked for the sample that I gave you, but I thought of another scenario that I need to account for. What would happen if I added another comma to the end and then some more text? Sample -
"nelson,bill,jr","bill","123 Main St","Mpls","MN",55444,8877,william,bill
I tried modifying your sed command and couldn't figure out how to make it work.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi All,
I have huge xml file. The file contains some comment tags . I have requirement to replace comment tag with another comment tag.
Say for example : file X has -- Part of the file
<?xml version="1.0" encoding="ISO-2"?><translationResults jobDate="20070123 23:20:51"... (1 Reply)
Discussion started by: purnakarthik
1 Replies
2. UNIX for Dummies Questions & Answers
hi
i want to replace the characters between positions 2 to 30 in each line in a file
how to do it
suggestions welcome (2 Replies)
Discussion started by: trichyselva
2 Replies
3. UNIX for Dummies Questions & Answers
Hello all,
This is my first post here, so please excuse me if this question is too obvious or has been asked before. I am new to Unix and although I tried to search your forum for the answer to my question, I could not find an answer that would help me.
I have a 500MB csv file with numeric values... (1 Reply)
Discussion started by: finwhiz
1 Replies
4. UNIX for Advanced & Expert Users
Hey,
Is there anyway I anks,
Pocha (12 Replies)
Discussion started by: pochaman
12 Replies
5. Shell Programming and Scripting
Hi
I have the fixed width flat file having the following data
12345aaaaaaaaaabbbbbbbbbb
12365sssssssssscccccccccc
12365sssss
12367ddddddddddvvvvvvvvvv
12367 vvvvv
Here the first column is length 5 second is length 10 third is length 10
if the second or third column exceeds... (3 Replies)
Discussion started by: Brado
3 Replies
6. AIX
hello everybody
i am looking for a shell to cut a flat file (with a long unique line) according to a certain number of characters and redirect every result to an output file.
here is an example
MyFile :
12 3 456 12 3 456 12 3 456 .....
and i took every 9-characters including BLANKS... (6 Replies)
Discussion started by: fastlane3000
6 Replies
7. UNIX for Dummies Questions & Answers
HI,
can any one help me please ..
i have flat file like
qwer123rt ass3242ccf jjk654
kjh838ppp nhdg453ok hdkk34
i want remove numeric characters in the flat file
i want output like this
qwerrt assccf jjk
kjhppp nhdgok hdkk
help me... (4 Replies)
Discussion started by: rafimd1985
4 Replies
8. Shell Programming and Scripting
Hi....I need one help....
I'm having a files which is having the data as follows...
a
b
c c
d d d
e
f
Now I need to find out distinct characters from this file and the output should be as follows -
a
b
c
d
e
f
Can you please help me on this? I'm using KSH script. (18 Replies)
Discussion started by: Krishanu Saha
18 Replies
9. Shell Programming and Scripting
Greetings all
I have a delimited text file (the delimiter is ';') where certain fields consist of many blanks e.g. ; ; and ; ;
Before I separate the data I need to eliminate these blanks altogether.
I tried the sed command using the following syntax:
sed -i 's/; *;/;;/g' <filename>
... (15 Replies)
Discussion started by: S. BASU
15 Replies
10. UNIX for Advanced & Expert Users
Suppose I have a file which has 1000 columns (5 SHOWN FOR EXAMPLE)
two alphabets are separated by a space and then tab
A A"\t"C C"\t"G G"\t"0 0"\t"T T
A G"\t"C C"\t"G G"\t"A T"\t"0 0
G A"\t"0 0"\t"G C"\t"A A"\t"T C
whenever there is a 0 0 in any column, the output should be printed as
A... (12 Replies)
Discussion started by: rossi
12 Replies
LEARN ABOUT DEBIAN
clamav-unofficial-sigs
clamav-unofficial-sigs(8) SCRIPT COMMANDS clamav-unofficial-sigs(8)
NAME
clamav-unofficial-sigs - Download, test, and install third-party ClamAV signature databases.
SYNOPSIS
clamav-unofficial-sigs [options]
DESCRIPTION
clamav-unofficial-sigs is a shell script that updates the Sanesecurity, SecuriteInfo, MalwarePatrol, OITC, INetMsg and ScamNailer third-
party signature databases for ClamAV.
OPTIONS
This script follows the standard GNU command line syntax. A summary of the options is shown below.
-b Add a bypass signature entry to local.ign in order to temporarily resolve a false-positive issue with a third-party signature. The
script will monitor any entries it makes to local.ign and will automatically remove bypass entries if either the original signature
has been modified or removed from the database.
-c FILE-NAME
Source configuration information from a different file.
-d Decode a hexadecimal encoded string or an individual ClamAV 3rd-party signature for viewing. This will not decode image signatures
nor the official signatures.
-e Encode a entire input string in hexadecimal for signature usage in any *.ndb database.
-f Encode a formated input string in hexadecimal that contains spacing field '{}, (), *', without encoding the spacing fields, for sig-
nature usage in any '*.ndb' database.
-g FILE-NAME
Verify the GPG signature for a specific SaneSecurity database file. Only specify the filename as listed in the configuration file
and the script will search for it in the work directory.
-h Print the script help and usage information.
-i Print system and script configuration information.
-m Make a hexadecimal signature database file (*.ndb) from a clear text ascii file. Provides support for both full and formatted sig-
natures. Additional information is provided when using the flag.
-r Remove the clamav-unofficial-sigs script and all of its associated files, databases and work directories from the system.
-s FILE-NAME
Test the integrity of a third-party signature database with clamscan. Only specify the filename as listed in the configuration file
and the script will search for it in the work directory.
-t If HAM directory scanning is enabled in the script's configuration file, then output the names of any third-party signatures that
triggered during the HAM directory scan.
-v Print the script version and date information.
SEE ALSO
clamd(8), clamscan(1)
COPYRIGHT
Bill Landry <bill@inetmsg.com>
LICENSE
BSD (Berkeley Software Distribution)
BUGS
Report bugs to Bill Landry <bill@inetmsg.com>
AUTHOR
Bill Landry <bill@inetmsg.com>
Version 3.7.1 June 6, 2010 clamav-unofficial-sigs(8)