04-10-2017
And what do you want the output to look like?
Combine could mean many different things.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello!!!
I need a korn shell script in AIX that inside sftp environment, changes a remote directory, lists the files inside it, and stores in an array.
I got it working before make a sftp, but after.. I can't..
The way it is, it lists the files in local path... so.. not what I want, but... (1 Reply)
Discussion started by: alienET
1 Replies
2. Shell Programming and Scripting
How do I make the below ksh to process all of the files inside a user specified directory?
Currently it can only process one file at a time.
#!/bin/ksh
tr -s '\11 ' ' ' < $1 > temp0
sed -e 's/,//g' temp0 > temp1
cut -d' ' -f1,4,5 temp1 > final_output
rm temp0 temp1 (3 Replies)
Discussion started by: stevefox
3 Replies
3. UNIX for Dummies Questions & Answers
Hi All.,
i have a problem. I hope i can get some help on this issue here;
i have 2 txt files say file1 and file 2
file1 has;
WLMT:XXXXXXXX:cp
DOLR:YYYYYYY:ascii,unblock
WLG:TTTTTTT:dd:73:ascii,unblock
MAR:SSSSSS:dd:152:ascii,unblock
GGG:QQQQQQQQQQ:112:ascii,unblock
EIE:CCCCCCCC:cp... (17 Replies)
Discussion started by: pavan_test
17 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I have two text files containing records in following format:
file1 format is:
name1 age1 nickname1 path1
name2 age2 nickname2 path2
file 1 example is:
abcd 13 abcd.13 /home/temp/abcd.13
efgh 15 efgh.15 /home/temp/new/efgh.15 (4 Replies)
Discussion started by: alrinno
4 Replies
5. Shell Programming and Scripting
Is there any way to combine 3 excel files into one comma separated file, after removing the header row from all the three files. Is this possible? I have looked in FAQ and I did not find anything.
Appreciate any suggestions or links to resources.
Radhika. (11 Replies)
Discussion started by: radhika
11 Replies
6. Shell Programming and Scripting
eg.
file 1 has:
4 0 8628380 653253 0 0 0 0 0 0
2 0 8626407 655222 0 0 0 0 0 0
4 0 8633729 647892 0 0 0 0 0 0
5 0 8646253 635367 0 0 0 0 0 0
file 2 has:
4798 48717 11554
5408 56487 14359
6010 58415 15220
5541 41044... (2 Replies)
Discussion started by: netbanker
2 Replies
7. UNIX for Dummies Questions & Answers
I need to combine two files based on the content in first column and combine it into one file . For example :
file1:
A 10
B 20
C 30
D 40
File2:
B 200
E 500
A 100
D 400
Need the output in this format:
file 3 :
column 1 Column 2 Column 3
A 10 100
B 20 ... (4 Replies)
Discussion started by: tsm2011
4 Replies
8. Shell Programming and Scripting
Hello all. This may seem like a dumb/easy question but right now I have a little script I made that uses rsync to sync a directory that has files in it that may or may not be complete files. I want to come up with a better solution for this. What it is is I have a directory lets say /incomplete... (4 Replies)
Discussion started by: linuxn00b
4 Replies
9. Shell Programming and Scripting
The script below is an attempt to combine 3 shells into 1.
The first part: match.sh
prompts the user for an id of a patient and runs a match script based on the response of "y" or "n". After completing the user is asked if there are additional patients, and based on "y" or "n" a certain action... (2 Replies)
Discussion started by: cmccabe
2 Replies
10. Shell Programming and Scripting
I am hoping the attached shell file is at least somewhat close to this.
Combining two shell file into one, where depending on the user input of"y" or "n" different commands are run. Thank you :).
So first he user is asked for an ID to match, once the id is entered a script is run that uses... (4 Replies)
Discussion started by: cmccabe
4 Replies
LEARN ABOUT CENTOS
classes
classes(3U) InterViews Reference Manual classes(3U)
NAME
classes - unique identifiers for catalog-managed objects and component views
SYNOPSIS
#include <Unidraw/classes.h>
DESCRIPTION
Classes for catalog-managed objects, including components, commands, tools, state variables, and transfer functions, must be associated
with mutually-unique class identifiers that can be written onto disk. This allows a creator object to call the appropriate constructor as
part of recreating an object from disk.
Also, there must be a mechanism for creating an appropriate view given a subject; that is, there must be an association between a subject
class and allowable view classes for that subject. This association is established by defining class identifiers for component views.
These identifiers are formed by concatenating the identifier for a given component subject class with an identifier that specifies a ``view
category.'' For example, the class identifier for the PostScript external view of a line component is the concatenation of the identifier
for the line component subject class and POSTSCRIPT_VIEW identifier, which specifies the category of external views for generating Post-
Script. This makes it possible to create an instance of the appropriate PostScript external view subclass given a line component subject.
The class identifiers for the Unidraw base and predefined derived classes are specified in the classes.h include file. Applications that
define new catalog-managed objects or component views should define unique class identifiers in a similar manner. Class identifiers for
catalog-managed objects are simply integers with mnemonic macro definitions, usually the class name in all-uppercase. For example, the
identifier for the LineComp component subject class is
#define LINE_COMP 9030
View class identifiers are specified using the Combine macro, which takes as its first argument the macro definition of the corresponding
component subject identifier; its second argument is an identifier for the view category. The Combine macro itself is then defined with a
mnemonic name. For example, the identifier for the PostScript external view class PSLine (which generates PostScript for the line compo-
nent subject) is defined as
#define PS_LINE Combine(LINE_COMP, POSTSCRIPT_VIEW)
where the POSTSCRIPT_VIEW view category identifier is defined as
#define POSTSCRIPT_VIEW 9103
N.B.: All class identifiers in a given application must be unique.
SEE ALSO
Catalog(3U), Creator(3U)
Unidraw 12 June 1990 classes(3U)