10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi, I have a little issue right now.
I have a file with 4 columns
test0000002,10030010020,a_,151... (3 Replies)
Discussion started by: Ebk
2. Shell Programming and Scripting
Need help here, can you tell me the syntax to line grep the highest file version?
0 04-05-2016 08:00 lib/SBSSchemaProject.jar/schemas/
0 04-05-2016 08:00 lib/SBSSchemaProject.jar/schemas/airprice/
0 04-05-2016 08:00 ... (2 Replies)
Discussion started by: 100rin
3. Shell Programming and Scripting
I have a huge text file with filenames which which looks like the following ie uniquenumber_version_filename:
What I need to do is examine the file, look for... (4 Replies)
Discussion started by: mantis
4. Shell Programming and Scripting
I have a requirement where I have to remove duplicates from a file based on the first 8 chars (It is fixed width file of 10 chars length) and whenever a duplicate row is found, its original row's last 2 chars should be updated to all 0's.
I thought of using
sort -u -k 1.1,1.8... (4 Replies)
Discussion started by: farawaydsky
5. Shell Programming and Scripting
print the key with highest value
b 3 (9 Replies)
Discussion started by: quincyjones
6. UNIX for Dummies Questions & Answers
This is my first post, but I have already received a lot of help from the forums in the past. Thanks!
I've searched the forums and my question is very similar to an earlier post entitled "Printing highest value from one column", which I am apparently not yet allowed to post a... (1 Reply)
Discussion started by: dliving3
7. Shell Programming and Scripting
I am completely new to shell scripting but have been assigned the task of creating several batch files to manipulate data. My final task requires me to find lines that have duplicates present then delete not only the duplicate but the original as well. The script will be used in a windows... (9 Replies)
Discussion started by: chino_1
8. UNIX for Advanced & Expert Users
How do I make tar set the correct atime on the extracted version? The option --atime-preserve works just on the original, not on the extracted file.
The extracted files always have current time as atime, which is bad. (10 Replies)
Discussion started by: frankie06
9. UNIX for Dummies Questions & Answers
sorry for my English
We'll report about Unix in my school, for Operating Systems subject...
with Installation demo....
I'm wondering if System V, which is from original developers AT&T still exist
and downloadable? because I cant find it anywhere...
then i found out that Solaris, MacOS... (4 Replies)
Discussion started by: slowchem
10. Linux Benchmarks
Just dusted off an old version of the Byte UNIX Benchmarks from our old benchmark days at http://linux.silkroad.com/ and ran them against www.unix.com:
BYTE UNIX Benchmarks (Version 3.11)
System -- Linux www 2.4.20 #2 Mon... (0 Replies)
Discussion started by: Neo
PSC(1) General Commands Manual PSC(1)
psc - prepare sc files
psc [-fLkrSPv] [-s cell] [-R n] [-C n] [-n n] [-d c]
Psc is used to prepare data for input to the spreadsheet calculator sc(1). It accepts normal ascii data on standard input. Standard out-
put is a sc file. With no options, psc starts the spreadsheet in cell A0. Strings are right justified. All data on a line is entered on
the same row; new input lines cause the output row number to increment by one. The default delimiters are tab and space. The column for-
mats are set to one larger than the number of columns required to hold the largest value in the column.
-f Omit column width calculations. This option is for preparing data to be merged with an existing spreadsheet. If the option is not
specified, the column widths calculated for the data read by psc will override those already set in the existing spreadsheet.
-L Left justify strings.
-k Keep all delimiters. This option causes the output cell to change on each new delimiter encountered in the input stream. The
default action is to condense multiple delimiters to one, so that the cell only changes once per input data item.
-r Output the data by row first then column. For input consisting of a single column, this option will result in output of one row
with multiple columns instead of a single column spreadsheet.
Start the top left corner of the spreadsheet in cell. For example, -s B33 will arrange the output data so that the spreadsheet
starts in column B, row 33.
-R n Increment by n on each new output row.
-C n Increment by n on each new output column.
-n n Output n rows before advancing to the next column. This option is used when the input is arranged in a single column and the
spreadsheet is to have multiple columns, each of which is to be length n.
-d c Use the single character c as the delimiter between input fields.
-P Plain numbers only. A field is a number only when there is no imbedded [-+eE].
-S All numbers are strings.
-v Print the version of psc
PSC 7.16 19 September 2002 PSC(1)