Sponsored Content
Full Discussion: C shell & Bourne Shell
Top Forums Shell Programming and Scripting C shell & Bourne Shell Post 302106682 by jsm66 on Monday 12th of February 2007 12:52:41 AM
Old 02-12-2007
C shell & Bourne Shell

Hi Guys,
My first post and simple one at that .. Really rusty with this shell scripting..\
I have a script called .. j.sh
I am calling
> j.sh LOG_PATH $BLMBRGDATA/blmbrg.properties

where j.sh is grep $1 $2 | cut -d',' -f2 .

$BLMBRGDATA is set to a directory path.

why do i get :-
$ get_property_value.sh LOG_PATH $BLMBRGDATA/blmbrg.properties
get_property_value.sh: not found
$ ./get_property_value.sh LOG_PATH $BLMBRGDATA/blmbrg.properties
/home/mahalja/sbclocal/dyn/data/blmbrg_pricing/log

and
why does this not work ?

$ set log_path = `./get_property_value.sh LOG_PATH $BLMBRGDATA/blmbrg.properties`
$ echo $log_path

$ set log_path `./get_property_value.sh LOG_PATH $BLMBRGDATA/blmbrg.properties`
$ echo $log_path

$

Thanks
 

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. UNIX for Dummies Questions & Answers

bourne shell or korn shell?

Hi, I have a script that uses "nohup" command to execute a korn shell script. Which one is the correct shell to use bourne shell or korn shell to execute a korn shell? and why? Thanks in advanced. (2 Replies)
Discussion started by: XZOR
2 Replies

3. Shell Programming and Scripting

how to log if the program contains both bourne-shell & pearl scripts

I have a program (say, MyProgram) written in Bourne-shell script, but at some point it calls another script written in pearl, as illustrated below: #!/bin/sh ..... case $x in 1) ConfigSystem1 ( b-shell script) 2) ConfigSystem2 ( pl) 3) ConfigSystem3 (b-shell) .... Then I create... (0 Replies)
Discussion started by: bluemoon1
0 Replies

4. Shell Programming and Scripting

Need Bourne shell tutorial

Hello. I need a good & complete Bourne shell tutorial. Please, can anyone help me to find it? Thanks. (1 Reply)
Discussion started by: jag
1 Replies

5. Shell Programming and Scripting

How to define array in Bourne shell , csh & ksh

Dear friends... Kindly if any one can help me to know the differences in definning & retreiving data from arrays in the sh,csh & ksh. I always facing problems in this issue. thanks...:) BR (3 Replies)
Discussion started by: ahmad.diab
3 Replies

6. 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

7. 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

8. 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

9. 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

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
gnome-accessibility-keyboard-properties(1)			   User Commands			gnome-accessibility-keyboard-properties(1)

NAME
gnome-accessibility-keyboard-properties - configure GNOME keyboard accessibility preferences SYNOPSIS
gnome-accessibility-keyboard-properties [gnome-std-options] DESCRIPTION
The GNOME keyboard accessibility preference tool enables you to set keyboard accessibility preferences. Also refer to accessx(1). OPTIONS
The following options are supported: gnome-std-options Standard options available for use with most GNOME applications. See gnome-std-options(5). EXAMPLES
Example 1: Launching the gnome-accessibility-keyboard-properties tool example% gnome-accessibility-keyboard-properties EXIT STATUS
The following exit values are returned: 0 Application exited successfully >0 Application exited with failure FILES
The following files are used by this application: /usr/bin/gnome-accessibility-keyboard-properties Executable for gnome-accessibility-keyboard-properties ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWgnome-desktop-prefs | +-----------------------------+-----------------------------+ |Interface stability |Volatile | +-----------------------------+-----------------------------+ SEE ALSO
Preference Tools Manual Latest version of the GNOME Desktop User Guide for your platform. accessx(1), gnome-control-center(1), gnome-keybindings-properties(1), gnome-keyboard-properties(1), attributes(5), gnome-std-options(5) NOTES
Written by Glynn Foster, Sun Microsystems Inc., 2003, 2006, 2007. SunOS 5.11 09 Nov 2007 gnome-accessibility-keyboard-properties(1)
All times are GMT -4. The time now is 06:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy