10-15-2019
You can process text with any "modern" programming language you choose.
You should pick a programming language, assuming you work in an organization, based on the skill sets and tech support policies of the organization. If your shop is mostly python, then you should write text processing scripts in python; if you are in web shop using PHP, you should process test in PHP. The more different languages your organization must support, the more difficult (and expensive) it is. If you work in a shop with hard-core unix people who
have all their code base in shell scripts, then use these same scripts, based on the organizational culture, business model and skill sets.
So, the question you should ask yourself is "what is the programming language to process text in my organization based on the policy of the organization and the current and future skill sets of the staff?"
Most every programming language can process text. You should work within your organizations skill sets and match the programming needs with the skills of the staff, especially the younger staff, who will be around much younger than the retiring staff.
Having said that,
If you want to use awk and your organization supports this, you should be programming in awk and posting your code here for review and help.
Often the question "can I do this?" with this programming language is a veiled question to ask others to code for them.
Please show your own coding work.
Thanks.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi Expert,
I have some confusing to generate report from the log file as shown below:
filename :test1.log
start_time date end_time number code
P 000029.621 20070823 000029 12134567890 111111111111 00 0 000 003... (4 Replies)
Discussion started by: bucci
4 Replies
2. Shell Programming and Scripting
Hi Team,
I need a suggestion/comments for my below requirement.
I have a procedure which performs some DDL operations & loads data into a Oracle table. This status contains Audit data.
What i wanted to do is, once the procedure is completed (daily), shell script should retrive the data from the... (4 Replies)
Discussion started by: Amit.Sagpariya
4 Replies
3. Shell Programming and Scripting
Hi
Please help me to resolve the below query.
My shell script has generated a file output.file like below
********************************
DROP TABLE GPS_CONTACT_DETAILS
DB20000I The SQL command completed successfully.
CREATE TABLE GPS_CONTACT_DETAILS ( CONTACT_ID ... (8 Replies)
Discussion started by: sailaja_80
8 Replies
4. AIX
Hi
Is there a way to re-generate AIX error report after clearing it? I mean if I did errclear 0, Does the error log get erased? Is there a command that will get entries back in errpt?
I hope that made sense. (5 Replies)
Discussion started by: Dardeer
5 Replies
5. Shell Programming and Scripting
I am trying to generate a report for a file called phone_book
awk -f {phone_book}
why does this not work? Nothing happens at all. (2 Replies)
Discussion started by: gustave
2 Replies
6. Shell Programming and Scripting
Hi All,
I need to develop a shell script which does sanity check of a data file, as below.
1. For DATE columns, it should check if date is given in proper format or not? For example, if format of date is expected as DD-MON-YYYY HH24:MI:SS and we received the date in formation like DDMMYYYY HH24,... (1 Reply)
Discussion started by: ace_friends22
1 Replies
7. Shell Programming and Scripting
Hello Gurus
Is anyone aware of a script/utility that can be used to generate a report from a combined "sudoers" file for more than 100 servers in one go please?
Basic query: Which particular user or an user group can execute root equivalent commands or has the ability for e.g. to do a... (1 Reply)
Discussion started by: kapil514
1 Replies
8. Shell Programming and Scripting
Hi All,
Script to meet my requirement might be simpler for UINIX experts.. :)
I need to generate an summary report in .txt file using shell script
I have Reject directory in Unix server which contains all reject files for three diff categories- Presentation, Chapter and Scene
Following... (3 Replies)
Discussion started by: Sakthikalluri
3 Replies
9. Shell Programming and Scripting
There can be thousand of .ksh in a specific directory where sql files are called from ksh.
Requirement is to loop through all the files content and generate a report like below:
Jobname Type type sqlname
gemd1970 sql daily tran01
gemw1971 sql weekly ... (6 Replies)
Discussion started by: vedanta
6 Replies
10. Shell Programming and Scripting
Hello All,
I have need as below:
1--> I need to get all users(who submit jobs) and their details by using below command:
qstat -u \*
output of the above command looks line below:
job-ID prior name user-id state "submit/start at" queue jclass slots ja-task-ID... (5 Replies)
Discussion started by: VasuKukkapalli
5 Replies
MARC(1) LOCAL COMMANDS MARC(1)
NAME
marc - archive merger
SYNOPSIS
marc tgtarc srcarc [ files ... ]
DESCRIPTION
Reads files from the arc archive srcarc and add them to the arc archive tgtarc.
HISTORY
Arc has been in use in the CP/M and MSDOS world for many years. Thom Henderson developed the original version, but it is important to note
that arc is based on the file compression theories developed by Huffman, Welch, Knott, Knuth, and many other scientists. This implementa-
tion is based on version 5.21 of the MSDOS program.
BUGS
Arc behaves just like the PC version of the program; all functions of the "usage" display are working. Full compatibility with PC ARC
files is maintained, the price for which is that arc doesn't like long filenames, and can only archive files with names of up to 12 charac-
ters. It will *sometimes* do The Right Thing with them, but I suggest you put long-winded filenames in a "shar" before arcing them.
There shouldn't be any problems, (hah!) but if you find any, please send them to me at:
hyc@hanauma.jpl.nasa.gov
AUTHORS
Original MSDOS program by Thom Henderson
COPYRIGHT(C) 1985-87 by System Enhancement Associates; ALL RIGHTS RESERVED
Original Lempel-Zev code derived from compress 4.0. Modified to support Squashing by Dan Lanciani (ddl@harvard.edu) Ported from MSDOS by
Howard Chu, with help from John Gilmore (hoptoad!gnu), James Turner (daisy!turner) and others.
Howard Chu@JPL 25 Nov 1992 MARC(1)