01-03-2015
Quote:
Originally Posted by
ongoto
Has anyone found any matches in these two files?
The OP didn't bother mentioning:
- that the field names contain uppercase letters in paramaters.txt but contain lowercase letters in CNAI_DUMP_raw.txt,
- what operating system is being used (which with an input file with lines containing well over 10,000 bytes per line can be very important), nor
- what shell is being used.
If the OP is unwilling to provide a small set of sample input files, corresponding desired sample output, and a clear explanation of the processing to be performed to produce that desired output from the input files; there isn't a high likelihood that a working solution will be provided here. (Nor is there much incentive for the volunteers here to download 150Kb of data to try to guess at what needs to be done.)
Furthermore, when asked "
what have you tried and where are you stuck?", the response was two repeated demands for us to provide working code.
The UNIX & Linux Forums is here to help people learn how to use the great tools available on UNIX and Linux systems to perform wondrous computing tasks. We are not here to work as unpaid programming staff for someone who is unwilling to demonstrate any attempt to do any work to get the job done.
Last edited by Don Cragun; 01-03-2015 at 09:34 PM..
Reason: Fix typos.
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi There
I needed to write a Unix shell script which will pick up the data from a .CSV file and reformat it as per the requirement and write it to another .CSV file.
Currently I am in the proess of Data Import to "Remedy System" (A one kind of incident mangement Application) and this... (8 Replies)
Discussion started by: Uday1982
8 Replies
2. Shell Programming and Scripting
Hi,
I have gps receiver, by using gpsd data i can read gps log data to my database(my sql).
Steps:
1. telenet localhost 2947 > gps.txt (press enter)
2. r (press enter) //then i will get the data like below in gps.txt file
Trying 127.0.0.1...
Connected to localhost.... (1 Reply)
Discussion started by: gudivada213
1 Replies
3. UNIX for Advanced & Expert Users
Hi all,
I have written a shell script to search a specified directory (e.g. /home/user) for a list of specific words (shown as ${TMPDIR}/wordlist below). The script works well enough, but I was wondering if there was a way to display the line number that the word is found on?
Thanks!
cat... (1 Reply)
Discussion started by: tmcmurtr
1 Replies
4. Shell Programming and Scripting
thanks for allowing me join your forum
i have an output of linux command "who"
which provides following details.....
CURRENT USER/ACCT INFO
17:31:36 up 4:49, 4 users, load average: 0.03, 0.04, 0.00
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
root :0 - 12:59 ?xdm? 4:54 0.02s /bin/sh /usr/bi... (1 Reply)
Discussion started by: ayyappancheta
1 Replies
5. Shell Programming and Scripting
Request if some one could provide me shell script that converts the below "input file" to "CSV format file" given
Name Domain Contact Phone Email Location
----------------------- ------------------------------------------------ ------- ----- ---------------------------------... (7 Replies)
Discussion started by: sreenath1037
7 Replies
6. Shell Programming and Scripting
Hi Unix Gurus,
I tried to convert the attached xhtml table content into csv file using unix shell script (lynx -dump filename) and got the below results:
Title ID Owner Priority Estimate Project Change Date Changed By
Complexity Create Date Created By Detail Estimate Total De tail... (6 Replies)
Discussion started by: bi.infa
6 Replies
7. Shell Programming and Scripting
Hi Everyone ,
Below is output from a TL1 , I want just the NE Name: and beside that the Temperature and the voltages in a csv file , Is this possible?
> act-user:AB1S2a:ArshadFO:493::**********;
AB1S2a 2016-02-07 10:13:24
M 493 COMPLD
"ArshadFO:2016-02-07 10-04-55,0"
;... (11 Replies)
Discussion started by: adgjmpt
11 Replies
8. Shell Programming and Scripting
Hello Unix Shell Script Experts,
I have a script that would mask the columns in .csv file or .txt file.
First the script will untar the .zip files from Archive folder and processes into work folder and finally pushes the masked .csv files into Feed folder.
Two parameters are passed
... (5 Replies)
Discussion started by: Mahesh G
5 Replies
9. Shell Programming and Scripting
i have written my shell script in notepad however i am struggling to pass the data file to be read to the script the data file is of .txt format. My target is to run the shell script from the terminal and pass 3 arguments e.g. polg@DESKTOP-BVPDC5C:~/CS1420/coursework$ bash valsplit.sh input.txt... (11 Replies)
Discussion started by: Gurdza32
11 Replies
makekey(8) System Manager's Manual makekey(8)
NAME
makekey - generate encryption key
SYNOPSIS
/usr/lbin/makekey
DESCRIPTION
The command improves the usefulness of encryption schemes depending on a key by increasing the amount of time required to search the key
space. It reads 10 bytes from its standard input, and writes 13 bytes on its standard output. The output depends on the input in a way
intended to be difficult to compute (that is, to require a substantial fraction of a second).
The first eight input bytes (the "input key") can be arbitrary ASCII characters. The last two (the salt) are best chosen from the set of
digits, uppercase and lowercase letters, the period (.), and the slash (/). The salt characters are repeated as the first two characters
of the output. The remaining 11 output characters are chosen from the same set as the salt and constitute the "output key".
The transformation performed is essentially the following: the salt is used to select one of 4096 cryptographic machines all based on the
National Bureau of Standards DES algorithm, but modified in 4096 different ways. Using the input key as key, a constant string is fed into
the machine and recirculated a number of times. The 64 bits that come out are distributed into the 66 useful key bits in the result.
The command is intended for programs that perform encryption (for instance, Usually input and output for are pipes.
RELATED INFORMATION
Commands: crypt(1), ed(1), ex(1), vi(1) delim off
makekey(8)