I tried with basic grep -x,-f,-v and appended to file 3. Just wanted to know if there is any better approach. I am attaching a sample of the data below:
file 1:
file 2:
Hope this helps!!
Last edited by Franklin52; 04-19-2010 at 09:34 AM..
Reason: Please use code tags!
Hi
Guys
I have downloaded a table from oracle database in .csv format. it has many fields as Title, First Name, Last Name etc. I have to download distinct titles from database and now i have to check all those titles from data of First Name one by one. and then i have to delete matched record.... (1 Reply)
Hi,
I want to copy some files from a Folder say, /usr/X at random intervals to another location.
Basically, new files will be dumped at random intervals to location /usr/X and I have to copy those new files to some other location (after copying, I cannot delete those files from source... (2 Replies)
Hi,
I am looking for an answer for following senario:
I have a text file (base.txt) which consist list of files to be searched like:
base.txt
abc.txt
def.txt
fgh.txt
Now i am going to search all the listed files in another directory after reading them one by one, once i found the... (10 Replies)
hi All,
need help...!!
I want to delete header record from all the files in current directory.
using sed command i can delete first record from a file but i want to delete first record from all the files so can anybosy help me how can i do this?
I will appreciate your help. (3 Replies)
Dear all,
I have a database with thousands of files with the structure of name is:
Filename_hour_year.abc
Filename_hour_year_1.abc
..............
So what I need is how to write a script that all file with contain the character "_1" will copy to "_2"
For example: file name:... (7 Replies)
Hi All,
I'm a newbie here, I'm just wondering on how to delete a single record in a large file in unix.
ex.
file1.txt is 1000 records
nikki1
nikki2
nikki3
what i want to do is delete the nikki2 record in file1.txt. is it possible?
Please advise,
Thanks, (3 Replies)
:EDIT:
I think my post name should have been labeled: how to copy files and record original file location. not "retain".
Hello, this is my first post! I searched the forums a lot before posting, but was unable to answer my question.
Here's my problem:
There are several hundred text files... (4 Replies)
find pattern, delete line with pattern and 3 lines above and 8 lines below the pattern. The pattern is "isup". The entire record with starting tag <record> and ending tag </record> containing the pattern is to be deleted and the rest to be retained.
<record>
... (4 Replies)
HI,
I need to print the record count of a file using shell script.
If the record count of a file excluding header and trailer record if greater than zero then print 'Record count of a file is xxxx records'.
If the record count is zero print 'zero records'
Thanks
Mahendra (1 Reply)
Sample file record :
"20130617003","2013-06-18T07:00:03","OUTWARD","01001011","TEST PLC","","HFX834346364364","20130617","10","DUM87534758","","1.28","826","020201","65879278","","","","","","010101","56789","DUMMY... (3 Replies)
Discussion started by: bigbuk
3 Replies
LEARN ABOUT DEBIAN
gnunet-namestore
GNUNET-NAMESTORE(1) General Commands Manual GNUNET-NAMESTORE(1)NAME
gnunet-namestore - manipulate GNUnet zones
SYNOPSIS
gnunet-namestore [options]-zZONEFILE
DESCRIPTION
gnunet-namestore can be used to create and manipulate a GNS zone.
OPTIONS -a, --add
Desired operation is adding a record
-c FILENAME, --config=FILENAME
Use the configuration file FILENAME.
-d, --delete
Desired operation is deleting a record
-D, --display
Desired operation is listing of matching records
-e TIME, --expiration=TIME
Specifies expiration time of record to add; format is relative time, i.e "1 h" or "7 d 30 m". Supported units are "ms", "s", "min"
or "minutes", "h" (hours), "d" (days) and "a" (years).
-h, --help
Print short help on options.
-L LOGLEVEL, --loglevel=LOGLEVEL
Use LOGLEVEL for logging. Valid values are DEBUG, INFO, WARNING and ERROR.
-n NAME, --name=NAME
Name of the record to add/delete/display
-t TYPE, --type=TYPE
Type of the record to add/delete/display (i.e. "A", "AAAA", "NS", "PKEY", "MX" etc.)
-v, --version
Print GNUnet version number.
-V VALUE, --value=VALUE
Value to store or remove from the GNS zone. Specific format depends on the record type. A records expect a dotted decimal IPv4
address, AAAA records an IPv6 address, PKEY a public key in GNUnet's printable format, and CNAME and NS records should be a domain
name.
-z FILENAME, --zonekey=FILENAME
Specifies the filename with the private key for the zone (mandatory option)
BUGS
Report bugs by using Mantis <https://gnunet.org/bugs/> or by sending electronic mail to <gnunet-developers@gnu.org>
SEE ALSO gnunet-gns(1)GNUnet Mar 5, 2012 GNUNET-NAMESTORE(1)