07-08-2011
Hi
Yes the output file is very diff from input basically a lot of reformatting has to be done ...
like first column in the out put will have hard coding then second column will have sysdate and other columns are a rearraggement of the order of columns from input file .Also there is a column in input file with amount having negtavive sign(-567.00) i would want this also to be changed and printed as (567.00-) and (78.98+) (in case of positive files)
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
Is there any good/easy tool or library which assists in developing a
command line interface for an application. The CLI should be able
to provide custom commands, allow programming/scripting as well.
For the latter case it could wrap a shell command and send it to BASH
for processing. (2 Replies)
Discussion started by: redirect
2 Replies
2. Programming
Hi Gurus,
I am very much interested in developing and publishing a small piece of open source code which would be the best place to start off. I am just a beginner in unix ,c. Please provide me some suggestions.
Thanks. (3 Replies)
Discussion started by: ennstate
3 Replies
3. Shell Programming and Scripting
Hi
All,
I want to develope this script. any help will be appreciated.
It is possible to use two pipes and create two-way communication between two processes. (In practice, this is not done because sockets are available.) Create a program where the parent process reads the name of a language... (2 Replies)
Discussion started by: vishalpatel03
2 Replies
4. Programming
Hi,
I wish to develop a editor of my own. My idea is using
100% C programming
Linked list as the Data structure
GNU/Linux as the compiling environment
ncurses utility for screen
Many of might have wrote a editor in your college itself as a project. But I am from non IT background.... (3 Replies)
Discussion started by: ramkrix
3 Replies
5. Shell Programming and Scripting
Hi everyone.I am trying ti create my own shell in C.So far i have managed to create a parser to separate args from cmd line of my shell.(i have done nothing different for tokens is that wrong?).so i can run commands like "ls -l" "cp" "cat" etc.now i want to add redirection.can anyone guide me... (1 Reply)
Discussion started by: bashuser2
1 Replies
6. UNIX for Dummies Questions & Answers
Hello all ,
My father has been running the last version of unix before all the liscensing began 20 or so years ago. In his particular field his programmer has written a great deal of software to work with this version. Emulating so newer computers could speak to the unix server as well. Im sure... (6 Replies)
Discussion started by: Bill78
6 Replies
7. AIX
I am a programmer who works on an IBM i (including AS/400, iSeries, System i and Power).
In developing application software on the IBMi we use languages such as RPG/ILE and CLLE. There is a need also to use PF, LF, DSPF & PRTF to represent the physical/logical database and screen/print objects.... (0 Replies)
Discussion started by: Elias
0 Replies
8. UNIX for Dummies Questions & Answers
I want to develop a unix script.
Scenario:A folder is containing many text files and there is one text file eg. test.csv which is having 2 words at line 1 & line 2.The script should search for word at line 1 in test.csv file in all other text file present in folder & replace it with word at line 2... (5 Replies)
Discussion started by: Anna Cardoz
5 Replies
9. Shell Programming and Scripting
Hi-
I need to develop a script for following scenario in AIX and K shell environment.I am from windows server background for most my career ,so please bear with me and advise suitable approach and technical assistance.Having said that I am aware of unix shell commands but never pput together at... (1 Reply)
Discussion started by: nirasm
1 Replies
10. What is on Your Mind?
A number of people have asked me about the best way to develop some cool new web app for UNIX.COM.
In today's "very easy web dev" world, developers do not need to be burdened (like I am) to the "back end" of the site. The best way to develop web apps is to build the application on your desktop... (2 Replies)
Discussion started by: Neo
2 Replies
PSC(1) General Commands Manual PSC(1)
NAME
psc - prepare sc files
SYNOPSIS
psc [-fLkrSPv] [-s cell] [-R n] [-C n] [-n n] [-d c]
DESCRIPTION
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.
OPTIONS
-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.
-s cell
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
SEE ALSO
sc(1)
AUTHOR
Robert Bond
PSC 7.16 19 September 2002 PSC(1)