Search Results

Search: Posts Made By: easwam
5,615
Posted By easwam
try this: ...
try this:
VAR1=$(/opt/dell/srvadmin/sbin/omreport about | cut -f2 -d ":" | sed 's/.* //')
echo "Version is: ${VAR1}"
if [ "${VAR1}" == "6.3.0" ] ; then exit 0 ; else exit 1; fi
11,558
Posted By easwam
Thanks Scrutinizer, that was helpful. But I...
Thanks Scrutinizer, that was helpful.

But I also had to do echo -E $LINE, probably because of my shell default.

$cat t9.dat | while read -r LINE
> do
> echo -E $LINE
> done
type string1_t =...
11,558
Posted By easwam
How to retain backslash in a line while reading a data file?
Hello Firends

I have a file that contains data within single quotes, which has meaning of its own. When I am trying to parse through the file for a different functionality I noticed that I was...
Forum: AIX 04-04-2008
2,183
Posted By easwam
Is there a way to list all the functions dotted in to the env?
Hi People,

Please advise if there is a command to retrieve the list of functions (user-defined) available at any certain point?

Cheers
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 02:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy