Sponsored Content
The Lounge What is on Your Mind? Throw my Toys out of the Pram! Post 302676885 by gull04 on Wednesday 25th of July 2012 08:53:08 AM
Old 07-25-2012
I did stop for a couple of pints on the way home, have mobile 3G broadband - which is presumably why it thinks I've moved to Essen in Germany when in fact I'm at this moment sitting in Leeds.
 

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

loop throw perl regexp selection

hello all i have string that i need to parse something list that : <form name="CustomerStatus" action="<% env.GetURI %>" method="post"<$if(blah)%> name="<% env.get("StatusList") %>" ><% hello %><input type="hidden" name="<% env.get("Operation") %>" value=""> now im selecting the the string... (6 Replies)
Discussion started by: umen
6 Replies

2. Shell Programming and Scripting

throw a generic message upon error

hi all, in ksh, is there a way to throw a generic error message. i have lots of commands in my script and i didnt want to put if ; then doStuff(); else print "an error occured, please run script again"; fi around all the commands used. is there a way detect a command has... (1 Reply)
Discussion started by: cesarNZ
1 Replies

3. UNIX for Dummies Questions & Answers

if a file is empty throw an error

I want to count the number of lines in a file and store it in a variable if this count is zero i hv to throw an error ...is this syntax correct , but i am not getting the desired result I am not using -s option here as i am concerned about record count not the size #!/bin/ksh set $count1... (4 Replies)
Discussion started by: mavesum
4 Replies

4. Shell Programming and Scripting

Find Command in the script throw error

Hi I have script that is developed to serch for 30 days old Directory & Files and then remove them ... when i run it successfully removes the Directory & files & but it throw errors on the screen .. .. + find . -type f -mtime +30 -exec rm -f {} ; + exit please help me ?? I... (0 Replies)
Discussion started by: Beginner123
0 Replies

5. Shell Programming and Scripting

search line with more than two dots if so throw error

Hi, I have a requirement like i have to search a script and find names that conatins more than two dots, if so then throw error. For ex: a1.b1.comname here i have to find comname and check two dots. it will not throw error a1.b1.c1.comname here it contains more than 2dots it will throw... (3 Replies)
Discussion started by: swagat123
3 Replies

6. Programming

C++ - 'try, throw, catch' compare to regular C-style 'if' - advantages?

(I have long gap to communicate with C++ and do not recall if I have used 'try-catch' at all; so, looking for advice...) I am trying to understand what the benefits of using that C++ error handling style compare to regular C-style 'if-then'? Still in the try{} block need to do some 'if()' to... (4 Replies)
Discussion started by: alex_5161
4 Replies

7. HP-UX

Debug3 messages throw in my terminal

OS: HP-UX B.11.31 U ia64 shell : /sbin/sh Messages like "debug3: Wrote 48 bytes for a total of 15837" are thrown in my terminal after each key stroke. If I try to type a command such message appears after each character I type. If I simply press enter messages like below appear. ... (1 Reply)
Discussion started by: black_fender
1 Replies
mlib_ImageMoment2_Fp(3MLIB)				    mediaLib Library Functions				       mlib_ImageMoment2_Fp(3MLIB)

NAME
mlib_ImageMoment2_Fp - second moment SYNOPSIS
cc [ flag... ] file... -lmlib [ library... ] #include <mlib.h> mlib_status mlib_ImageMoment2_Fp(mlib_d64 *moment, const mlib_image *img); DESCRIPTION
The mlib_ImageMoment2_Fp() function computes the second moment of each channel in a floating-point image. It uses the following equation: 1 w-1 h-1 moment[i] = ----- * SUM SUM img[x][y][i]**2 w*h x=0 y=0 PARAMETERS
The function takes the following arguments: moment Pointer to moment array, where length is the number of channels in the image. img Pointer to an image. RETURN VALUES
The function returns MLIB_SUCCESS if successful. Otherwise it returns MLIB_FAILURE. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ |MT-Level |MT-Safe | +-----------------------------+-----------------------------+ SEE ALSO
mlib_ImageMoment2(3MLIB), attributes(5) SunOS 5.10 10 Nov 2004 mlib_ImageMoment2_Fp(3MLIB)
All times are GMT -4. The time now is 10:46 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy