Thank you for your replay. This is not a homework.
Data is given. Therefore, comma and closing quotes are not main problem.
Best,
Jaeyoung
---------- Post updated at 03:20 PM ---------- Previous update was at 03:14 PM ----------
Dear All,
Let me clarify my questions. I have two files which contain numbers and texts. Texts in two files are identical. I want to create a new file that has average of numbers from two files.
FileA.txt (more than 10000 lines and more than 1000 text and numbers)
FileB.txt (Texts are identical to FileA.txt)
FileNew.txt (Have averages from FileA and FileB.txt)
One request is that I don't want to change any text. Only numbers are needed to be changed.
I think AWK or diff work this job.
Best,
Jaeyoung
Last edited by Don Cragun; 12-15-2015 at 05:26 PM..
Reason: Add CODE and ICODE tags
I've become obsessed with trying to get this to work.
As of yet, I am unable to figure it out. Unfortunately, I don't have Linux or UNIX available when I get home.
Anyone have tips for me on how I can pass param1 to ID via use of COUNTER and loop?
thx.
LIMIT=6
param1="999999999"
export... (0 Replies)
I have results from some statistical analyses.
The format of the results are as given below:
I want to select lines that have a p-value (last column) less than 0.05 from all the results files (*.results) and cat to a new results file.
It would be very nice if a new column is added that tells... (2 Replies)
Hi all,
Consider I have a text file containing:
1003 60
1005 80
1100 110
Based on that file I need to create another file which is containing value from 1001 till 1100 which is a linear interpolation between two point (for 1004; 1006;1007 until 1109) and extrapolation based on 2... (7 Replies)
- I have two files (File 1 and File 2) and the contents of the files are mentioned below.
- I am trying to compare the values of Column1 of File1 with Column1 of File2. If a match is found, print the corresponding value from Column2 of File1 in Column5 of File2.
- I tried to modify and use... (10 Replies)
Hi ! Experts...
I just wanted to know whether it is possible in scripting...to do interpolation....
if so....have a look on my data file
I need temperature and salinity value with a bin size of 0.5 m
output looks somewhat like this
dep temp sal
0.5 25 0.077
1 25 ... (12 Replies)
Hi,
I need a shell script, which would search the result values from another files.
1)execute " select column1 from table_name" query on the table.
2)Based on the result, need to be grep from .wft files.
could please explain about this.Below is the way i am using.
#!/bin/sh... (4 Replies)
Dear all, could you help me with following question. There are two datasets (below). I need to find match between BP values from data1 and data2, and add corresponding CM value from data2 into data1. if there is not exact match, the corresponding CM value should be calculated using interpolation.... (20 Replies)
Dear all,
I always appreciate your help. I am an electrical engineer. I am using a tool for timing analysis of a circuit. I would like to interpolate results from two timing reports at different voltages (0.945V and 0.78V). If voltage is decreased, data arrival time is increased.
For... (4 Replies)
I have two directories of files (new-config-files and old-config-files):
new-config-files/this-db/config.inc.php
new-config-files/that-db/config.inc.php
new-config-files/old-db/config.inc.php
new-config-files/new-db/config.inc.php
new-config-files/random-database/config.inc.php
etc.
... (4 Replies)
Discussion started by: spacegoose
4 Replies
LEARN ABOUT DEBIAN
daptup
DAPTUP(8) System Manager's Manual DAPTUP(8)NAME
daptup - wrapper script on 'apt-get update'
SYNOPSIS
daptup [ --pre | --post | --last ] [ -h | --help ] [ --nocolor ]
OPTIONS --pre Do only 'pre' stage: collect info that will be used as 'old'. Usually need to be specified only in apt hooks.
--post If appropriate option is enabled in config file, do only 'post' stage: collect 'new' info and output changes. Otherwise do nothing.
Usually need to be specified only in apt hooks.
--last Output changes only. This option is supposed to be specified when you want to see changes made in the last update. Note that list of
outdated packages, if daptup is configured to output it, will be rebuilt.
-h --help
prints the help
--nocolor
Disables color output, useful for scripts or when output is not terminal. Now works only with --last option, however, you can dis-
able color globally in configuration file.
daptup is a script that runs "apt-get update" inside and outputs list of packages recently entered to repo, list of packages which got new
updates, list of changes in 'watched' packages and, optionally, list of outdated packages.
Starting with 0.8.0 version, daptup uses apt hooks and you don't need to explicitly call it if you use 'apt-get update'.
TROUBLESHOOTING
If daptup was interrupted while building the lists, the cached lists can stay in inconsistent state, which is inappropriate if you want to
use --last option before the new update. There is nothing to do if interrupt was occured at the moment when old lists were building
(besides running the new update). However, if interrupt was occured when the new lists were building, you can easily redo this stage by
calling 'daptup --post'.
FILES
/etc/daptup.conf
self-documented configuration file
/var/spool/daptup/outdated
cached file with info about outdated packages
SEE ALSO apt-get(8), aptitude(8), apt-show-versions(1p)AUTHOR
daptup was written by Eugene V. Lyubimkin.
This manual page was written by Eugene V. Lyubimkin <jackyf.devel@gmail.com>, for the Debian project (but may be used by others).
Oct 15, 2008 DAPTUP(8)