07-19-2007
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Please help develop script for below requirement
-------Sample file-------------------------------
HSVSHOSTRECON 20090115011817BP
DARMAR60064966247003504720000000000000000000066626000000000000133000003D003463001332 ... (14 Replies)
Discussion started by: niraj_bhatt
14 Replies
2. Shell Programming and Scripting
How to validate a date and optionly a time in shell scripting when i get the date and time as pararmeters that sent out with the call of the file? (in my case sh union.sh `first parameter ,second parameter...` (4 Replies)
Discussion started by: tal
4 Replies
3. Shell Programming and Scripting
Hi,
Can anyone provide me the code snippet for EMail Address Validation.
User is going to enter the email address in form window. I need to validate the format is correct.
Thanks in Advance
BS (3 Replies)
Discussion started by: balajiora
3 Replies
4. Shell Programming and Scripting
PICKUPDIR=/home/ready/
DROPDIR=/home/downloaded/
TODAY=$(date '+%d%m%y')
LOGFILE=xyz-$TODAY.log
###########
#FUNCTIONS#
###########
#function to perform file transfer to servercopy folder
opalO ()
{
cd $PICKUPDIR
for fileName in `ls -1 TES_ONE*`
do
cp $fileName $DROPDIR
done
} >>... (4 Replies)
Discussion started by: ravigupta2u
4 Replies
5. Shell Programming and Scripting
Hi All,
I have a shell script in Linux and it will be invoked by 2 methods,
1) An automated background process .
2) Logining into the box and directly executing the script.
I need to put a validation in my shell script such that it will be executed successfully on when an... (11 Replies)
Discussion started by: vininx
11 Replies
6. Shell Programming and Scripting
Hi All,
I am a newbie...I would like to have a function which ll check if a file contains valid strings before "=" operator. Just to give you my requirement:
assume my file has content:
hello= gsdgsd sfdsg sgdsg sgdgdg
world= gggg hhhh iiiii
xxxx= pppp ppppp pppp
my... (1 Reply)
Discussion started by: rtagarra
1 Replies
7. Shell Programming and Scripting
Hi All,
I am completely new to Unix Shell Scripting.
I m validating(Basic File Validation) an .HHT file in TIBCO.
After that i need to do Data Validation through UNIX Shell scripting.
Rules in DataValidation:
1.) Need to Check Every field wheather it is a Char or Number?(Fields are... (1 Reply)
Discussion started by: Chaitanya K
1 Replies
8. UNIX for Dummies Questions & Answers
Hi Guys,
I am trying to find a way within a bash script to check a file that exists in the same directory to ensure every line starts with 44 and is 12 digits long. If it doesn't then print some sort of text advising of the error and stop the script from going any further. If all lines... (1 Reply)
Discussion started by: mutley2202
1 Replies
9. UNIX for Dummies Questions & Answers
I need help with one of my shell script. The script is working fine but i need to add two condition -
i need to get rid of all the below ftp messages and need to have only ftp completed or failed message.
example when i run the script i get below lines -
Connected to xxxx
220 (vsFTPd... (1 Reply)
Discussion started by: chandraprakash
1 Replies
10. Shell Programming and Scripting
hello every one
I wrote the script to validate all the urls from my server . sourcing text file which contains the list of urls and trying to check every url and based on response printing url is up or not. the issue when i use the below code with url is printing url exist and and in loop it's... (3 Replies)
Discussion started by: markjohn1
3 Replies
LEARN ABOUT DEBIAN
mbk_work_lib
MBK_WORK_LIB(1) MBK ENVIRONMENT VARIABLES MBK_WORK_LIB(1)
NAME
MBK_WORK_LIB - define the mbk working directory
SYNOPSYS
c-shell running
setenv MBK_WORK_LIB unix path
ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in
Paris, France.
Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users@asim.lip6.fr
DESCRIPTION
MBK_WORK_LIB sets the directory where are saved the results of an invocation of mbk or genlib. This directory is considered to be, from an
mbk point of view, read and write.
Also, when a file is searched for reading, the first directory to be looked at is the MBK_WORK_LIB, and then the one defined in
MBK_CATA_LIB(1).
The unix path argument must be a actually accessible path on your host machine.
ERRORS
"mbk_fopen : can't open file 'unix_path/file.xx'"
This occurs when either the unix path is irrelevent, or when the file doesn't exist if it is open for reading, or when you don't
have the right on the file or directory while trying to write it.
EXAMPLE
setenv MBK_WORK_LIB ~fred/crechan/uom
SEE ALSO
mbk(3), genlib(1), MBK_CATA_LIB(1).
BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.
ASIM
/LIP6 October 1, 1997 MBK_WORK_LIB(1)