Sponsored Content
Full Discussion: Help updating a file
Top Forums Shell Programming and Scripting Help updating a file Post 302886009 by cmccabe on Wednesday 29th of January 2014 11:32:21 AM
Old 01-29-2014
Help updating a file

I can not seem to figure out how to update the attached match.txt column 2 using update.txt. However, only the text before the period in updat.txt appears in match.txt.

For example, in update.txt NM_001613.2 matches NM_001613 in match.txt, so is it possible to update the record in match.txt to NM_001613.2? Thanks.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

TO know whether file is updating or not

Hi All, I am new to scripting. my requirement is , I want to know whether the file(i.e., log file) is updating or not. It should search for every 15 min. If it is not updating means it needs to send out a automatic mail. can you please help me in this. (2 Replies)
Discussion started by: raj333
2 Replies

2. Shell Programming and Scripting

Sed Help in Updating something only in one particular file.

Hi, The scenerio is that I want to replace a text in one particular line of a file. But when I am using the sed it's replacing all the occurences of that text. Like the file is: >cat test DNGGF10 :None :Test DNGGF11 :ABC :Test1 DNGGF12 :None :Test2 DNGGF13 :None :... (4 Replies)
Discussion started by: bisla.yogender
4 Replies

3. Shell Programming and Scripting

awk updating one file with another, comparing, updating

Hello, I read and search through this wonderful forum and tried different approaches but it seems I lack some knowledge and neurones ^^ Here is what I'm trying to achieve : file1: test filea 3495; test fileb 4578; test filec 7689; test filey 9978; test filez 12300; file2: test filea... (11 Replies)
Discussion started by: mecano
11 Replies

4. UNIX for Advanced & Expert Users

wtmpx file is not updating

Hi in my solaris 9 system wmptx file is not updating so it is not recording any login or logout or any other entry. can any one tell me how to solve this problem (0 Replies)
Discussion started by: aaysa123
0 Replies

5. UNIX for Dummies Questions & Answers

Updating a field in a File without creating temp file's

Hi Experts, I have a requirement where i need to update the below items in file, 1. END TIME 2. PREV_STATUS For the first time the PREV_status and end time of all job the job will be sysdate & NULL reply as below, Session_name,Load Type,Frequency,Seesion End time,Prev_Status... (2 Replies)
Discussion started by: prabhutkl
2 Replies

6. Solaris

Message file is not updating

Hi, Some how message file is not updating on solaris 8, but syslogd is running. Any help. It is urgent. (1 Reply)
Discussion started by: mokkan
1 Replies

7. Shell Programming and Scripting

Reading from one file and updating other file with constant entries

Hi All, Thaks for the help in my last thread. I have one more question. I have two files with ldap entries in it. One file contains all the user LDAP parameter entries (26 MB) and other file contains only the user id's that have to be inactivated. Unix script has to read from the file that has... (8 Replies)
Discussion started by: Samingla
8 Replies

8. Shell Programming and Scripting

updating a file with sed -help

I have a file of records all made up of single charactors that need to be updated using their row/column (the dashes represent spaces as the html formatting of this text box when it posts removes the "nonessential" white space between the charactors) file example A 1 c B 2 b C 3 a... (2 Replies)
Discussion started by: dboward
2 Replies

9. UNIX for Dummies Questions & Answers

Updating a File

Hi, I have a below requirement and need your help in this regard. I have two timestamps in a file i.e. TimeBefore=2014-07-10.18.06.55 TimeAfter_1=2014-07-09.05.45.12 TimeAfter_2=2014-07-09.05.40.12 When I first run the script file, it sets the 'TimeBefore' to todays date. When I run... (5 Replies)
Discussion started by: vrupatel
5 Replies

10. UNIX for Beginners Questions & Answers

Updating in file

hi, i have an csv(which is a month's log file containing userid and log in date ) file which has to be appended to another file say master.log.I need to compare the next month's log data to master.log file .In case, there is new log date for userid it has to get updated in master.log file or i... (2 Replies)
Discussion started by: preema
2 Replies
MIXMASTER-UPDATE(1)						 mixmaster-update					       MIXMASTER-UPDATE(1)

NAME
mixmaster-update - Fetch new reliability stats and keyrings for mixmaster SYNOPSIS
mixmaster-update [--verbose] [--source=SOURCE] [--configfile=FILE] [--destination=DIRECTORY] mixmaster-update --list-sources mixmaster-update --help mixmaster-update --version DESCRIPTION
mixmaster-update is a simple yet configurable script that downloads latest remailer reliability statistics and keyrings for your mixmaster. As having uptodate reliability statistics is imperative if you want to make use of remailers it is recommended that you always update this data should it be older that twelve or twentyfour hours and you intent to use mixmaster. mixmaster-update has several built in stats sources. You can view the list of stats sources with the --list-sources parameter. If you want to make use of another stats source which is not listed in the output of --list-sources you can do so by setting the location of mlist and others in your configuration file. OPTIONS
--verbose Print verbose output to standard output. May be given more than once to increase verbosity. --source=SOURCE Use this built in stats source. --configfile=FILE Also parse the configuration file FILE. --destination=DIRECTORY Write output to DIRECTORY rather than the directory given in the config file or ~/.Mix/. --list-sources List available stats sources. --help Print a brief help message and exit successfully. --version Print a version information and exit successfully. FILES
/etc/mixmaster/update.conf ~/.Mix/update.conf MIXMASTER_UPDATE_CONF environment --configfile parameter These files are parsed in this order. Later definitions overwrite older ones. This config file defines proxy settings, where to write the results to and which stats source to use /etc/mixmaster/allpingers.txt ~/.Mix/allpingers.txt MIXMASTER_ALLPINGERS environment --allpingers parameter These files are parsed in this order. Later definitions overwrite older ones. The allpingers.txt is a list of all pingers. FILEFORMAT
The update.conf configuration file for mixmaster-update is simple. Lines with whitespace only are ignored as are lines that have the hash our pound ("#") sign as their first non whitespace character. Lines are always truncated at the first hash our pound ("#") sign. Lines are pairs of keys and values separated by a convenient amount of whitespace. The key is case insensitive. Allowed keys: source Use the builtin stats source with this name destination Write the downloaded data to this directory rather than ~/.Mix proxy Set proxies for different protocols. The value is split into two parts: protocol and proxy URL. They are separated by whitespace. Example: PROXY http http://proxy.example.com:8080/ PROXY ftp http://proxy.example.com:8080/ The format for allpingers.txt is simple too: [example] base = http://stats.example.net/ rlist = http://stats.example.net/rlist.txt mlist = http://stats.example.net/mlist.txt rlist2 = http://stats.example.net/rlist2.txt mlist2 = http://stats.example.net/mlist2.txt rlist_html = http://stats.example.net/rlist.html mlist_html = http://stats.example.net/mlist.html rlist2_html = http://stats.example.net/rlist2.html mlist2_html = http://stats.example.net/mlist2.html rchain_html = http://stats.example.net/mlist2.html pgpring = http://stats.example.net/pgp-all.asc pgpring_rsa = http://stats.example.net/pgp-rsa.asc mixring = http://stats.example.net/pubring.mix type2list = http://stats.example.net/type2.list The file may contain several such definitions. ENVIRONMENT
MIXMASTER_UPDATE_CONF MIXMASTER_ALLPINGERS See the FILES section abobe. HOME Your homedirectory. Used for finding your user configuration file. Also the default destination directory is $HOME/.Mix/ SEE ALSO
mixmaster(1) BUGS
Please report them to the Debian Bug Tracking System as described at "http://bugs.debian.org/" or use a tool like reportbug(1). AUTHOR
Peter Palfrader <peter@palfrader.org> $Revision: 459 $ 2013-02-08 MIXMASTER-UPDATE(1)
All times are GMT -4. The time now is 03:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy