07-18-2008
thinking out loud
Would it only be a one-to-one relationship between those key fields?
Could the 2nd file be made into a new temp file where
3keyfields"~"full_data_record
then sorted
perhaps a grep or other command
if successful then cut -d"~" -f2 >>new_file
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I am in desperate need of an answer to this question. I have looked everywhere (even the man pages) and found very little.
Solaris has the concept of "plumbing" a network interface. What does this mean?
I would be really greatful to whoever could help me answer this question. I am so... (1 Reply)
Discussion started by: Sparticus007
1 Replies
2. UNIX for Dummies Questions & Answers
I have the following situation :
i have 4 Unix Sco servers, one Windows 2000 server, and an ADSL internet connection. All the servers, that is the 4 unix and the windows server have real static IPs supplied by my ISP.
the servers are connected to a Switch , the switch is connected to an... (2 Replies)
Discussion started by: BAM
2 Replies
3. UNIX for Dummies Questions & Answers
Well, I hope this way you will respond to my inquiries.
I have 4 unix servers,with static ips (though i dont think this is an issue)....i can telnet and rlogin from one to the other....if i FTP from on et othe other and try to execute :
cd /user return
/user : no such file or... (1 Reply)
Discussion started by: BAM
1 Replies
4. Shell Programming and Scripting
Hi,
I have a script xyz.ksh which accpets two parameters the format of first one is :X_TABLENAME_Y and second one is a digit. I can extract a table name from that parameter and store it in a variable var_tblnm, so if i pass a parameter X_TABLE1_Y the value in var_tblenm is "TABLE1"
now i have... (1 Reply)
Discussion started by: hcdiss
1 Replies
5. Solaris
Hi Friends..
I have a small problem with the hostname of my system.I had installed Solaris 10 X86 on Vmware in my windows 2000 system.After booting of my solaris system,if i give check-hostname command it says ,,
hostname is not fully qualified ,,change the hostname to hostname.xxx.xxxxxx.com... (3 Replies)
Discussion started by: sdspawankumar
3 Replies
6. Programming
Hello,
I'm working on an application that bridges together several applications involved in creating a video workflow for editing with digital cinema cameras. The main platform is MacOSX.
Because of the nature of some of the utilities for working with this video footage I must spoof filenames... (2 Replies)
Discussion started by: ibloom
2 Replies
7. Shell Programming and Scripting
Hello All,
I am new to this forum, and the reason I came here is to seek solution from the experts.
I have written following wrapper script, it was running fine from past couple of months, until last week.
When one of the function in the script which suppose to login through ssh to the... (2 Replies)
Discussion started by: tajdar
2 Replies
8. Shell Programming and Scripting
Hi,
I rather have a very complicated awk problem here, at least to me. I have two files.
File 1:
607 687 174 0 0 chr1 3000001 3000156 -194195276 - L1_Mur2 LINE L1 -4310 1567 1413 1
607 917 214 114 45 chr1 3000237 ... (19 Replies)
Discussion started by: polsum
19 Replies
9. Shell Programming and Scripting
Folks - I found this code on the forums to extract a paragraph for a matching pattern but I don't know how to make it ignore case.
grep "-ip" is not an option for me as I am on SUSE LINUX.
Thanks for ur help.
I run this script as below:
grep_para.ksh sqlstate < logfile
"The end result... (2 Replies)
Discussion started by: beowulfkid
2 Replies
10. Shell Programming and Scripting
Hi,
My input file contains
1,2
2,4
3,6
4,9
9,10
My expected output is
1,10
2,10
3,6
4,1
9,10 (6 Replies)
Discussion started by: pandeesh
6 Replies
SHCOMP(1) Korn shell utilities SHCOMP(1)
NAME
shcomp - compile a shell script
SYNOPSIS
shcomp [ options ] [infile [outfile]]
DESCRIPTION
Unless -D is specified, shcomp takes a shell script, infile, and creates a binary format file, outfile, that ksh can read and execute with
the same effect as the original script.
Since aliases are processed as the script is read, alias definitions whose value requires variable expansion will not work correctly.
If -D is specified, all double quoted strings that are preceded by $ are output. These are the messages that need to be translated to
locale specific versions for internationalization.
If outfile is omitted, then the results will be written to standard output. If infile is also omitted, the shell script will be read from
standard input.
OPTIONS
[D dictionary] Generate a list of strings that need to be placed in a message catalog for internationalization. [n noexec] Displays warn-
ing messages for obsolete or non-conforming constructs. [v verbose] Displays input from infile onto standard error as it reads it.
EXIT STATUS
0
Successful completion.
>0
An error occurred.
SEE ALSO
ksh(1)
IMPLEMENTATION
version
shcomp (AT&T Research) 2003-03-02
author
David Korn <dgk@research.att.com>
copyright
Copyright (c) 1982-2010 AT&T Intellectual Property
license
http://www.opensource.org/licenses/cpl1.0.txt
2003-03-02 SHCOMP(1)