02-17-2009
Quote:
Originally Posted by
ynilesh
check entries or values?
both values and entries
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello,
Is it possible to check if a host is accepting connections on a particular port using a shell script? Can't we automate telnet to check for the same?
Thanks in advance
Azmath H Shaik (3 Replies)
Discussion started by: azmathshaikh
3 Replies
2. Shell Programming and Scripting
I need to write a script for:
I have two files where I need to check entries and sort of compare:
file1:
data01
data02
data03
data04
data05
.
.
.
data81
file2:
/vol/vx/data01
/vol/vx/data02
/vol/vx/data03
/vol/vx/data04
/vol/vx/data05
. (8 Replies)
Discussion started by: za_7565
8 Replies
3. UNIX for Dummies Questions & Answers
I have a process that spits out a file called sqlplus.out, here is what the result looks like:
Currently the value you see is zero, what I need to do is perform an action if that value is non-zero, so how do I check that value in an if statement? If it helps at this moment in development the... (6 Replies)
Discussion started by: philplasma
6 Replies
4. Shell Programming and Scripting
please help me providing the code of checking a string pure numeric or not and pure alphanumeric or not (6 Replies)
Discussion started by: arghya_owen
6 Replies
5. Shell Programming and Scripting
lets think str is a variable...how can i check it is pure alphabetic or not
for numeric checking i have used echo $str|grep -v ]
but the command echo $str|grep -v ] is not working (1 Reply)
Discussion started by: arghya_owen
1 Replies
6. Shell Programming and Scripting
I have a file as shown below:
%( PHASES
P
%)
%( SOURCES
(10,0.0)
(13,0.0)
(16,0.0)
(19,0.0)
(22,0.0)
(25,0.0)
(28,0.0)
(31,0.0)
(34,0.0)
(37,0.0)
(40,0.0)
(43,0.0) (3 Replies)
Discussion started by: kristinu
3 Replies
7. What is on Your Mind?
Hi,
would some kindly explain what is mean by BITS in forum saving bits,checking bits etc. and what it is for? (1 Reply)
Discussion started by: malikshahid85
1 Replies
8. Shell Programming and Scripting
Hi,
I have to check file is available in particular directory.
if ( -d $dir ){
print "It will say that is dir ";
else
print "It will say that is not dir";
}
Not like this. I want to check that dir having files or not ?
Please advice
Thanks,
Mani (1 Reply)
Discussion started by: Mani_apr08
1 Replies
9. SCO
Hi, (i'm sorry for my english)
I'm a problem on boot sco unix 5.0.5 open server.
this stop at "Checking protected password and checking subsystem databases"
(See this image )
I'm try this:
1) http://www.digipedia.pl/usenet/thread/50/37093/#post37094
2) SCO: SCO Unix - Server hangs... (9 Replies)
Discussion started by: buji
9 Replies
LEARN ABOUT MOJAVE
lessecho
LESSECHO(1) General Commands Manual LESSECHO(1)
NAME
lessecho - expand metacharacters
SYNOPSIS
lessecho [-ox] [-cx] [-pn] [-dn] [-mx] [-nn] [-ex] [-a] file ...
DESCRIPTION
lessecho is a program that simply echos its arguments on standard output. But any metacharacter in the output is preceded by an "escape"
character, which by default is a backslash.
OPTIONS
A summary of options is included below.
-ex Specifies "x", rather than backslash, to be the escape char for metachars. If x is "-", no escape char is used and arguments con-
taining metachars are surrounded by quotes instead.
-ox Specifies "x", rather than double-quote, to be the open quote character, which is used if the -e- option is specified.
-cx Specifies "x" to be the close quote character.
-pn Specifies "n" to be the open quote character, as an integer.
-dn Specifies "n" to be the close quote character, as an integer.
-mx Specifies "x" to be a metachar. By default, no characters are considered metachars.
-nn Specifies "n" to be a metachar, as an integer.
-fn Specifies "n" to be the escape char for metachars, as an integer.
-a Specifies that all arguments are to be quoted. The default is that only arguments containing metacharacters are quoted
SEE ALSO
less(1)
AUTHOR
This manual page was written by Thomas Schoepf <schoepf@debian.org>, for the Debian GNU/Linux system (but may be used by others).
Send bug reports or comments to bug-less@gnu.org.
Version 487: 25 Oct 2016 LESSECHO(1)