10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a file which entry is below
another file, which entry is below
I want O/P as below
Delete User Profile "user1" FROM Proj1 Fin
Delete User Profile "user1" FROM Proj2 Marketing
Delete User Profile "user2"... (4 Replies)
Discussion started by: anshu ranjan
2. UNIX for Dummies Questions & Answers
I have a zip file which I received, and I need to replace one of the files inside of it.
I tried the obvious solution of unzipping the zip, replacing the file, and rezipping, but the following happened:
Original Zip Size: 79MB
Unzipped Size 80MB
New Zip: 36MB
When I feed the... (2 Replies)
Discussion started by: DeanLeitersdorf
3. Red Hat
Is it possible to specify a list of files to be included in an RPM package (section "% files") according to some condtions. For example, if a particular condition is true, do not include the file "X". If not include it.
Thank you for your help.
Regards (1 Reply)
Discussion started by: louzorios
4. Shell Programming and Scripting
I have about 20 tab delimited text files that have non sequential numbering such as:
The first column of each file has the same number of lines and content. The next 2 column have data points:
a 8.9 ... (8 Replies)
Discussion started by: rrdavis
5. Shell Programming and Scripting
I have a number of files with multiple rows that I need to add together.
Let say I have 10 files:
Each file has a great number of rows and columns. I need to add these files together the following way.
In other words, If, for example, file A occupies Columns 1 to 19, I want to add file B... (7 Replies)
Discussion started by: Ernst
6. UNIX for Dummies Questions & Answers
I have a question. I have a txt.file as below. i want to add 3 more columns: column3=conlum 2*column2; column4=(1-column2)*(1-column2); column5=1-column3-column4. Do you know how to do it? Thanks a lot!
... (2 Replies)
Discussion started by: forevertl
7. Shell Programming and Scripting
I have two files
File1 has trailer as below
File2 has trailer as below
it should add both the fields from trailer of file 1 and 2....so that file2 has a trailer as
TR|3|220 (3 Replies)
Discussion started by: Deepak62828r
8. Shell Programming and Scripting
I have a folder that contains hundreds of file with a names
I need rename each of this file by adding "core_" in the begiining of each file such as
core_21.msa (4 Replies)
Discussion started by: Lucky Ali
9. Shell Programming and Scripting
I have two files containing 6 columns and thousands of rows. I want to add them (i.e. first column of first file + first column of second file and so on) and print the output in a third file. Can you please help me.
Thanks a lot (7 Replies)
Discussion started by: chandra321
10. Shell Programming and Scripting
I have two files and I need to add column 3 of file1 to column 3 of file 2 > file3
I also need to repeat for column 4.
Thanks (1 Reply)
Discussion started by: dsstamps
sccs-comb(1) User Commands sccs-comb(1)
sccs-comb, comb - combine SCCS deltas
comb [-os] [-csid-list] [-psid] s.filename...
comb generates a shell script (see sh(1)) that you can use to reconstruct the indicated s.files. This script is written to the standard
If a directory name is used in place of the s.filename argument, the comb command applies to all s.files in that directory. Unreadable
s.files produce an error; processing continues with the next file (if any). The use of `-' as the s.filename argument indicates that the
names of files are to be read from the standard input, one s.file per line.
If no options are specified, comb preserves only the most recent (leaf) delta in a branch, and the minimal number of ancestors needed to
preserve the history.
The following options are supported:
-o For each `get -e' generated, access the reconstructed file at the release of the delta to be created. Otherwise, the recon-
structed file is accessed at the most recent ancestor. The use of -o can decrease the size of the reconstructed s.file. It
can also alter the shape of the delta tree of the original file.
-s Generate scripts to gather statistics, rather than combining deltas. When run, the shell scripts report: the file name, size
(in blocks) after combining, original size (also in blocks), and the percentage size change, computed by the formula:
100 * ( original - combined ) / original
This option can be used to calculate the space that is saved, before actually doing the combining.
-csid-list Include the indicated list of deltas. All other deltas are omitted. sid-list is a comma-separated list of SCCS delta IDs
(SIDs). To specify a range of deltas, use a `-' separator instead of a comma, between two SIDs in the list.
-pSID The SID of the oldest delta to be preserved.
s.COMB reconstructed SCCS file
comb????? temporary file
See attributes(5) for descriptions of the following attributes:
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
|Availability |SUNWsprot |
sccs(1), sccs-admin(1), sccs-cdc(1), sccs-delta(1), sccs-help(1), sccs-prs(1), sccs-prt(1), sccs-rmdel(1), sccs-sccsdiff(1), what(1), sccs-
Use the SCCS help command for explanations (see sccs-help(1)).
comb might rearrange the shape of the tree of deltas. It might not save any space; in fact, it is possible for the reconstructed file to
actually be larger than the original.
SunOS 5.11 30 Jun 2007 sccs-comb(1)