10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have below command in one of the script. Can you please let me know what does the curly braces do over here \{1,\}. The remaining part of the code atleast I am able to understand.
sed -n 's/.*\-\()\{1,\}\)\-.*/\1/p' (13 Replies)
Discussion started by: tostay2003
13 Replies
2. Shell Programming and Scripting
Hi
I have a file called tmp with the content as belowmore tmp
NAMELIST(Hari)
NAMELIST(Raju)
I want to get the values between the brackets.
When I executed the below command on zlinux I get the output which I wantedmore tmp |awk -F'' '{print $2}'
But when I execute the same in... (3 Replies)
Discussion started by: harimhkr
3 Replies
3. Shell Programming and Scripting
REALLY new to this stuff, sorry.
So I want a shell script to open a program, wait 45 minutes, close it, and then do it all again. I want to do this because I am running an iMacros Script for a long period of time and if Firefox is not constantly restarted, memory leaks start to happen.
Anyway... (6 Replies)
Discussion started by: plsbbg
6 Replies
4. Shell Programming and Scripting
Hello everyone,
What is the difference between these two tcl commands:
(A) --> puts "ERROR!!! ${current_name}/${opt} is not found."
(B) --> puts "ERROR!!! $current_name/$opt is not found."
Are the braces needed to be put? Or both A and B has the same output? (5 Replies)
Discussion started by: mar85
5 Replies
5. Shell Programming and Scripting
Hi,
I have files named as
energy.dat.1
energy.dat.2
energy.dat.3
...
energy.dat.2342
I would like to find the file with maximum number in the filename (ex. energy.dat.2342) and open it.
Would you please share your expertize in writing the script?
Thanks in advance. (8 Replies)
Discussion started by: rpd25
8 Replies
6. OS X (Apple)
Might anyone have an idea on how to mount an xserve share via ssh, then close the share connection? (3 Replies)
Discussion started by: unimachead
3 Replies
7. Shell Programming and Scripting
#include<header.h>
void classname :: pvvd_init
( abcd
,efgh
,ijkl
,mnop )
{
rvcl_tabl_name_tabl.pvvd_init
( xxxx
,"tabl_mame" ) ;
... (2 Replies)
Discussion started by: ultimatix
2 Replies
8. Shell Programming and Scripting
Hi,I am new to shell scripting and i want to find the line numbers of matching braces.
The file contents are as follows
File XXX.dat
1 ( CLASS "FRUIT"
2 (TYPE "PERSISTENT")
3 (MESSAGE_TYPE "M")
4 (GET_REQRD "Y")
5 (SET_REQRD "Y")
6 )
7 ( CLASS... (3 Replies)
Discussion started by: Rajendra_1510
3 Replies
9. Post Here to Contact Site Administrators and Moderators
Hi all,
Just thought I'd mention something I've noticed since joining this forum :)
Would it be a good idea to close threads once the initial question that was posted has been answered?
I notice a few posts where people go on and on and as soon as you post a reply to one question they... (2 Replies)
Discussion started by: _Spare_Ribs_
2 Replies
10. Post Here to Contact Site Administrators and Moderators
Please send an email to the administrator(s) of the board with thead ID and forum for any thread that is closed that you want open (or open that you want closed). All requested considered. Our apologies if sometimes threads are closed early. If this happens, please email :)
Nobody is perfect... (0 Replies)
Discussion started by: Neo
0 Replies