09-08-2016
Hi bakunin...
Quote:
Shell should only be used for small utilities or simple wrapper scripts.
ROFLMAO! Some of the scripts i maintain are several thousand lines long and contain calls to a shell library of functions which also is several thousand lines of code worth.
Ha ha, I agree.
There is at least one large script on here, URL below. <wink>
Hi mvdan...
You might like to test your formatter with this:-
The Start Of A Simple Audio Scope Shell Script...
And have some fun...
This User Gave Thanks to wisecracker For This Post:
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have scripts which I want to convert in Linux format.
Note these scripts are in txt format.But I want to convert them in Linux, as DBA's will be using this script.
Any command or utility which converts tht files in proper Linux format.
Thanks in Adavce.
Kunal (1 Reply)
Discussion started by: niceboykunal123
1 Replies
2. UNIX for Dummies Questions & Answers
what is the difference between login and profile scripts versus the rc scripts? (1 Reply)
Discussion started by: rookie22
1 Replies
3. Shell Programming and Scripting
Hi,
I've written a script that runs on a Database server. It has to shutdown the Application server, do an Oracle Dump and then restart the Application server. Its been a long time since I wrote any shells scripts. Can you tell me if the scripts that I execute within my script will be executed... (3 Replies)
Discussion started by: brockwile1
3 Replies
4. Shell Programming and Scripting
Hi,
I have to write a program to compute the checksums of files
./script.sh
I wrote the program using bash and it took me forever since I am a beginner but it works very well.
I'm getting so close to the deadline and I realised today that actually I have to use normal Bourne shell... (3 Replies)
Discussion started by: pgarg1989
3 Replies
5. Shell Programming and Scripting
I have few files from windows which are tab delimited or ‘|' delimited files.
I need to convert these files without any delimiter ( so in a way it would become variable length with no delimiter )
Can someone help me with the command in bourne shell scripts., ( I am trying with awk )
Thanks In... (6 Replies)
Discussion started by: Shanks
6 Replies
6. UNIX for Dummies Questions & Answers
Hello,
I am trying to show today's date and time in a better format than ‘date' (Using positional parameters). I found a command mktime and am wondering if this is the best command to use or will this also show me the time elapse since 1/30/70? Any help would be greatly appreciated, Thanks... (3 Replies)
Discussion started by: citizencro
3 Replies
7. Shell Programming and Scripting
Dear Members,
I have a table REQUESTS in Oracle which has an attribute REQUEST_ACTION. The entries in REQUEST_ACTION are like, ME, MD, ND, NE etc.
I would like to create a script which will will call other scripts based on the request action.
Can we directly read from the REQUEST_ACTION... (2 Replies)
Discussion started by: Yoodit
2 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I am new to shell scripting and exploring it , I have developed few sample shell script but I have developed them on windows xp notepad and then saving them on folder and then testing them on cywgin and running perfectly...but these scripts are in dos format and I want to convert them in unix... (1 Reply)
Discussion started by: rahul125
1 Replies
9. Shell Programming and Scripting
Dear all,
I am working on script which call other shell scripts in a loop but problem is from second script am not able to come out.
Here is the snippet:-
#!/bin/bash
HSFILE=/root/Test/Components.txt
LOGFile=/opt/domain/AdminDomain/application/logs... (3 Replies)
Discussion started by: sharsour
3 Replies
LEARN ABOUT DEBIAN
nyshell
NYSHELL(1) General Commands Manual NYSHELL(1)
NAME
nyshell - tool to generate shell scripts to build nypatchy output
SYNOPSIS
nyshell logfile options cradle [ print ] [ .go ]
DESCRIPTION
nyshell is a tool in the Nypatchy suite of programs for working with Patchy Master Files (PAM files); see nypatchy(1). Specifically, given
the log file of a nypatchy run, it can create a shell script to compile all the source code files output by nypatchy. This program is sim-
ilar to fcasplit except that it takes the log file as input instead of a source file, and it remembers which source code files have already
been compiled in previous runs.
USAGE
logfile is the name of the log file coming from nypatchy, with a default extension of ".log". A cradle file cradle may be given to add
additional setup options such as desired compilers or compiler flags to use. (See the reference manual for more details.) print is the
file to which informational output should be written (the default is standard output if omitted), and options is a sequence of single-char-
acter flags. This program generates a shell script file named name.shfca (with name being the part of logfile sans extension) that can be
run to build all object files. The file name.xqtlog "remembers" the current state.
The command should be ended with ".go" unless one wants to enter the Nypatchy interactive shell.
OPTIONS
Note that options should be given as a single string of characters with no space separation and no use of the - character (except that it
can be used in place of the options field if no options are desired). Alphabetic options are not case-sensitive.
A Force recompilation of all routines.
B Bypass tests based on the .xqtlog file.
E Bypass tests based on the .xqtlog file if it is empty.
H Print help information only.
Q "quick" - Do not print the setup.
S Print the setup only (only together with H).
U "up to date" - Check that all .o files are ready to go into a library.
V "verbose" - Print the complete setup.
SEE ALSO
fcasplit(1), nycheck(1), nydiff(1), nyindex(1), nylist(1), nypatchy(1), nymerge(1), nysynopt(1), nytidy(1), yexpand(1)
The reference manual for the Nypatchy suite of programs is available in compressed PostScript format at the following URL:
http://wwwasdoc.web.cern.ch/wwwasdoc/psdir/p5refman.ps.gz
Running the command "nyshell help .no" also gives some brief help on usage. Running the command "nyshell - hs .no" prints the default set-
up (compiler names and options) to be used in the generated shell scripts.
AUTHOR
This manual page was written by Kevin McCarty <kmccarty@debian.org> for the Debian GNU/Linux system (but may be used by others). It is
licensed under the GNU General Public License, version 2 or later (at your choice).
COPYRIGHT
Copyright (C) Kevin B. McCarty, 2008.
Mar 12, 2008 NYSHELL(1)