Sponsored Content
Top Forums Shell Programming and Scripting Bourne Shell: Hiding error messages Post 302191318 by pjottum on Friday 2nd of May 2008 07:26:29 AM
Old 05-02-2008
the * will be evaluated bij the shell, if there's nothing to remove, it'll give an error.

send the std-err to the std-out:

rm * > /dev/null 2>&1
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Bourne-again shell

Hi guys !! well i'm still new in learning UNIX , and actually i'm still studying it by myself .. anyway, some people told me the Bourne-again shell is a good version of UNIX to work on , and i tried to download yesterday but i didn't know how to start it ...... the ReadMe file associated with... (3 Replies)
Discussion started by: mrsamer
3 Replies

2. Shell Programming and Scripting

I need to understand the differences between the bash shell and the Bourne shell

I do not claim to be an expert, but I have done things with scripts that whole teams of folks have said can not be done. Of course they should have said we do not have the intestinal fortitude to git-r-done. I have been using UNIX actually HPUX since 1992. Unfortunately my old computer died and... (7 Replies)
Discussion started by: awk_sed_hello
7 Replies

3. Shell Programming and Scripting

How to activate Korn Shell functionnalities in Bourne Shell

Hi All I have writing a Korn Shell script to execute it on many of our servers. But some servers don't have Korn Shell installed, they use Borne Shell. Some operations like calculation don't work : cat ${file1} | tail -$((${num1}-${num2})) > ${file2} Is it possible to activate Korn Shell... (3 Replies)
Discussion started by: madmat
3 Replies

4. Shell Programming and Scripting

Hiding error report

Hi Guys, Error report is still displaying on the console after executing the below command. Is there any error in the syntax? check_event=$(cat /sbt/driver/RegressionTests/ResultsArchive/${environment}/$backupPath/TestEvents.txt | g rep "Test Cases FAIL" | cut -c 18-) 2> log2 (4 Replies)
Discussion started by: ajincoep
4 Replies

5. Shell Programming and Scripting

Bourne Shell - Dynamic Variable Error

hi, I am trying to assign a value through 'read' and all works well until I have a space in the in putted value, for the life of me I cant figure out how to escape this. :wall: Any ideas? #!/bin/sh ask_question() { question_text="${1}"; question_answer=""; ... (2 Replies)
Discussion started by: redback
2 Replies

6. Shell Programming and Scripting

Bourne/C shell help

Exercise Five Write a Bourne shell script which: • Professionalism: plan for this from the start. • Has one command line argument. • If the command line argument is a directory then the script should output the number of files in the directory. • If the command line argument is an ordinary... (2 Replies)
Discussion started by: moesom
2 Replies

7. Shell Programming and Scripting

bourne shell script error on line containing declare...

Hi, Get the following error when running a shell script with following statement. Syntax error at line 150 : `(' is not expected 150: declare -a VPO_SEV=(Normal Warning Minor Major Critical) it runs fine using bash, so I guess the script should be using bash but is there a... (1 Reply)
Discussion started by: wilsonee
1 Replies

8. Shell Programming and Scripting

Bourne shell & Korn shell

Could some one tell me the difference btw Bourne shell and the Kshell? Which is more flexible and reliable in terms of portability and efficiency. When i type the following command .. $ echo $SHELL yields me /bin/sh Does this tells me that I am in Bourne shell. If yes, how can i get... (6 Replies)
Discussion started by: bobby1015
6 Replies

9. UNIX for Dummies Questions & Answers

Hiding shell script code

How can we share a script without actually sharing the code? I have 4 scripts in my system. The end user has to execute the first file and based on the inputs (I am reading 1, 2 , 3 as options) my shell script will execute respective script files. Now I dont want to share all the 4 script... (3 Replies)
Discussion started by: Dish
3 Replies

10. Cybersecurity

'Shell Shock' vulnerability in Bourne shell

A severe vulnerability was discovered in Bourne shell. Just google for: bash vulnerability ... for more details. (5 Replies)
Discussion started by: Cochise
5 Replies
std::tr1::__detail::__numeric_constants< _Tp >(3cxx)					      std::tr1::__detail::__numeric_constants< _Tp >(3cxx)

NAME
std::tr1::__detail::__numeric_constants< _Tp > - SYNOPSIS
Static Public Member Functions static _Tp __1_pi () throw () static _Tp __2_sqrtpi () throw () static _Tp __euler () throw () static _Tp __gamma_e () throw () static _Tp __lnpi () throw () static _Tp __pi () throw () static _Tp __pi_2 () throw () static _Tp __pi_3 () throw () static _Tp __pi_4 () throw () static _Tp __sqrt1_2 () throw () static _Tp __sqrt2 () throw () static _Tp __sqrt3 () throw () static _Tp __sqrtpio2 () throw () Detailed Description template<typename _Tp>struct std::tr1::__detail::__numeric_constants< _Tp > A structure for numeric constants. Definition at line 60 of file special_function_util.h. Member Function Documentation template<typename _Tp > static _Tp std::tr1::__detail::__numeric_constants< _Tp >::__1_pi () throw () [inline], [static] Constant $ 1 / i $. Definition at line 75 of file special_function_util.h. template<typename _Tp > static _Tp std::tr1::__detail::__numeric_constants< _Tp >::__2_sqrtpi () throw () [inline], [static] Constant $ 2 / t(i) $. Definition at line 78 of file special_function_util.h. template<typename _Tp > static _Tp std::tr1::__detail::__numeric_constants< _Tp >::__euler () throw () [inline], [static] Constant Euler-Mascheroni $ e $. Definition at line 99 of file special_function_util.h. Referenced by std::tr1::__detail::__log_gamma_lanczos(). template<typename _Tp > static _Tp std::tr1::__detail::__numeric_constants< _Tp >::__gamma_e () throw () [inline], [static] Constant Euler's constant $ mma_E $. Definition at line 96 of file special_function_util.h. Referenced by std::tr1::__detail::__expint_E1_series(), std::tr1::__detail::__expint_Ei_series(), std::tr1::__detail::__expint_En_series(), std::tr1::__detail::__hyperg_reflect(), and std::tr1::__detail::__psi_series(). template<typename _Tp > static _Tp std::tr1::__detail::__numeric_constants< _Tp >::__lnpi () throw () [inline], [static] Constant $ (i) $. Definition at line 93 of file special_function_util.h. Referenced by std::tr1::__detail::__log_gamma(), and std::tr1::__detail::__sph_legendre(). template<typename _Tp > static _Tp std::tr1::__detail::__numeric_constants< _Tp >::__pi () throw () [inline], [static] Constant $ i $. Definition at line 63 of file special_function_util.h. Referenced by std::tr1::__detail::__airy(), std::tr1::__detail::__bessel_ik(), std::tr1::__detail::__bessel_jn(), std::tr1::__detail::__ellint_1(), std::tr1::__detail::__ellint_2(), std::tr1::__detail::__ellint_3(), std::tr1::__detail::__psi(), std::tr1::__detail::__riemann_zeta(), and std::tr1::__detail::__riemann_zeta_glob(). template<typename _Tp > static _Tp std::tr1::__detail::__numeric_constants< _Tp >::__pi_2 () throw () [inline], [static] Constant $ i / 2 $. Definition at line 66 of file special_function_util.h. Referenced by std::tr1::__detail::__comp_ellint_1_series(), std::tr1::__detail::__comp_ellint_2_series(), and std::tr1::__detail::__poly_laguerre_large_n(). template<typename _Tp > static _Tp std::tr1::__detail::__numeric_constants< _Tp >::__pi_3 () throw () [inline], [static] Constant $ i / 3 $. Definition at line 69 of file special_function_util.h. template<typename _Tp > static _Tp std::tr1::__detail::__numeric_constants< _Tp >::__pi_4 () throw () [inline], [static] Constant $ i / 4 $. Definition at line 72 of file special_function_util.h. template<typename _Tp > static _Tp std::tr1::__detail::__numeric_constants< _Tp >::__sqrt1_2 () throw () [inline], [static] Constant $ 1 / sqrt(2) $. Definition at line 90 of file special_function_util.h. template<typename _Tp > static _Tp std::tr1::__detail::__numeric_constants< _Tp >::__sqrt2 () throw () [inline], [static] Constant $ t(2) $. Definition at line 81 of file special_function_util.h. template<typename _Tp > static _Tp std::tr1::__detail::__numeric_constants< _Tp >::__sqrt3 () throw () [inline], [static] Constant $ t(3) $. Definition at line 84 of file special_function_util.h. Referenced by std::tr1::__detail::__airy(). template<typename _Tp > static _Tp std::tr1::__detail::__numeric_constants< _Tp >::__sqrtpio2 () throw () [inline], [static] Constant $ t(i/2) $. Definition at line 87 of file special_function_util.h. Referenced by std::tr1::__detail::__sph_bessel_ik(), and std::tr1::__detail::__sph_bessel_jn(). Author Generated automatically by Doxygen for libstdc++ from the source code. libstdc++ Thu Aug 2 2012 std::tr1::__detail::__numeric_constants< _Tp >(3cxx)
All times are GMT -4. The time now is 07:37 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy