10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
The bash bash below extracts the oldest folder from a directory and stores it in filename
That result will match a line in bold in input. In the matching line there is an_xxx digit in italics that
(once the leading zero is removed) will match a line in link. That is the lint to print in output.... (2 Replies)
Discussion started by: cmccabe
2 Replies
2. Shell Programming and Scripting
Hi Forum.
I have the following challenge at work that I need to write a script for.
I have a file abc.txt with the following contents:
4560123456
4570987654
4580654321
I want to be able to search/replace in abc.txt - the first 4 characters anything starting with 4560 to 7777; 4570... (3 Replies)
Discussion started by: pchang
3 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I have a shell script where I have to connect t oracle database. I have to store the command in a variable and then run the command through the variable.The OS is solaris 10 and the shell is bash.pls help when I run the command it doesnot work.Thanks.
if
CONNECT= "sqlplus... (4 Replies)
Discussion started by: Rossdba
4 Replies
4. UNIX for Dummies Questions & Answers
Hi,
I'm using unix solaris 2.8 with CDE and I would modify the file association in my desktop.
I found the file /usr/dt/appconfig/types/C/datatypes.dt from this topic :
File Extension association in CDE | Unix Linux Forums | UNIX for Dummies Questions & Answers
but this file can only be... (3 Replies)
Discussion started by: Toug
3 Replies
5. Shell Programming and Scripting
Hi All,
I have below variable,
xyz=\$AI_XFR
Now, if you will run the below command
=> echo $xyz
$AI_XFR
It is returning hardcoded string value.
Whereas in environment, there is value in it. Like below:
=> echo $AI_XFR
/home/aditya/sandbox/xfr/
I need to resolve this... (4 Replies)
Discussion started by: adgangwar
4 Replies
6. Shell Programming and Scripting
I need help to store the value returned from the function to one variable and then use that variable.
PREVIOUS_DATE_FUNCTION()
{
date '+%m %d %Y' |
{
read MONTH DAY YEAR
DAY=`expr "$DAY" - 1`
case "$DAY" in
0)
MONTH=`expr "$MONTH" - 1`
case... (1 Reply)
Discussion started by: aroragaurav.84
1 Replies
7. Shell Programming and Scripting
can anyone please help me with this:
i have written a shell script and a stored procedure which has one OUT parameter. now i want to use that out parameter as an input to the unix script but i am getting an error as variable not found. below are the unix scripts and stored procedure...
... (4 Replies)
Discussion started by: swap21783
4 Replies
8. Shell Programming and Scripting
Hi all,
I have a variable say var1 (output from somewhere, which I can't change)which store something like this:
echo $var1
name=fred
age=25
address="123 abc"
password=pass1234
how can I make the variable $name, $age, $address and $password contain the info?
I mean do this in a... (1 Reply)
Discussion started by: freddy1228
1 Replies
9. Shell Programming and Scripting
Hi,
I want to write a perl script, which will increment number stored in file. I want to do this without any file handles. I think we have to use some UNIX commands. I am not sure how to do this with file handles.
Thanks, (1 Reply)
Discussion started by: solitare123
1 Replies
10. UNIX for Dummies Questions & Answers
Hi,
Any idea how to define the file extension association within CDE.
I need to tell dtfile (the file manager) to open *.log files as text documents and not emails...
Thanks! (2 Replies)
Discussion started by: me2unix
2 Replies
ECACCESS-ASSOCIATION-DELETE(1p) User Contributed Perl Documentation ECACCESS-ASSOCIATION-DELETE(1p)
NAME
ecaccess-association-delete - Delete Association
SYNOPSIS
ecaccess-association-delete -version|-help|-manual
ecaccess-association-delete [-debug] [-gateway name] association-name
DESCRIPTION
Allow deleting an ECtrans Association. Once deleted the Association can not be retrieved. The History associated with this Association will
also be removed from the ECaccess Gateway Database.
ARGUMENTS
association-name
The name of the Association to delete.
OPTIONS
-gateway name
This is the name of the ECaccess Gateway where the Association is installed. It is by default the Gateway you are connected to. In
order to get the name of your current Gateway you can use the ecaccess-gateway-name command. When using the commands at ECMWF the
default Gateway is always "ecaccess.ecmwf.int".
-version
Display version number and exits.
-help Print a brief help message and exits.
-manual Prints the manual page and exits.
-debug Display the SOAP messages exchanged.
EXAMPLES
ecaccess-association-delete -gateway ecaccess.ecmwf.int test
Remove the test Association on the ecaccess.ecmwf.int Gateway.
ecaccess-association-delete test2
Remove the test2 Association on the default Gateway.
SEE ALSO
ecaccess-association-get, ecaccess-association-list, ecaccess-association-protocol, ecaccess-association-put and ecaccess.
perl v5.14.2 2012-04-16 ECACCESS-ASSOCIATION-DELETE(1p)