Usage of set in shell scripting


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Usage of set in shell scripting
# 1  
Old 03-24-2008
Usage of set in shell scripting

I am not able to understand the mentioned usage of set.

$A set $l

Please reply ASAP. Need to fix sth in my code.

Thanks in advance.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Help needed with shell script to search and replace a set of strings among the set of files

Hi, I am looking for a shell script which serves the below purpose. Please find below the algorithm for the same and any help on this would be highly appreciated. 1)set of strings need to be replaced among set of files(directory may contain different types of files) 2)It should search for... (10 Replies)
Discussion started by: Amulya
10 Replies

2. Shell Programming and Scripting

Need EOF usage in shell scripting

Hi all, Can any one explain the usage of EOF in shell scripting?? Gone through some examples from google, but it is not clear... Examples are: 1. $ tr << EOF > abcd > efgh > iojk > EOF O/P is: ABCD EFGH IOJK 2. echo << EOF (1 Reply)
Discussion started by: divya bandipotu
1 Replies

3. Shell Programming and Scripting

Set +A usage

Hi Team, Could you please explain me the usage of set +A command in setting values to an array ? Also, what does the below command do ? set +A filesSent ${filesSent},${file}${FLAGEXT} Thanks in advance. Regards, Mohan (3 Replies)
Discussion started by: mohanpadamata
3 Replies

4. AIX

How to monitor the IBM AIX server for I/O usage,memory usage,CPU usage,network..?

How to monitor the IBM AIX server for I/O usage, memory usage, CPU usage, network usage, storage usage? (3 Replies)
Discussion started by: laknar
3 Replies

5. Shell Programming and Scripting

how to set crontab entries through shell scripting

Hi, I am not that good in shell scripting... I would like to know how to write a shell script to add entries in to the crontab? Can any one post me the sample code..... Regards Srinivasan. (4 Replies)
Discussion started by: srinivasj
4 Replies

6. HP-UX

how can I find cpu usage memory usage swap usage and logical volume usage

how can I find cpu usage memory usage swap usage and I want to know CPU usage above X% and contiue Y times and memory usage above X % and contiue Y times my final destination is monitor process logical volume usage above X % and number of Logical voluage above can I not to... (3 Replies)
Discussion started by: alert0919
3 Replies

7. Shell Programming and Scripting

usage...sed/awk/reg-exp ..in shell scripting

in shell scripting there is extensive usage of i> regular expression ii>sed iii>awk can anyone tell me the suitable contexts ...i mean which one is suitable for what kind of operation. like the reg-exp and sed seems to be doing the same job..i.e pattern matching (1 Reply)
Discussion started by: mobydick
1 Replies

8. Shell Programming and Scripting

Awk scripting and usage of regex to locate a hyperlink

Hello guys, I need to write awk script that would take an html page and output a list of each unique http link on that webpage followed by the number of times it occurred in that file. e.g. ----------------------------------------- Webpage: index.html http://www.google.com/ 3... (1 Reply)
Discussion started by: grinch
1 Replies

9. Shell Programming and Scripting

difference between AIX shell scripting and Unix shell scripting.

please give the difference between AIX shell scripting and Unix shell scripting. (2 Replies)
Discussion started by: haroonec
2 Replies
Login or Register to Ask a Question
shell(1F)							   FMLI Commands							 shell(1F)

NAME
shell - run a command using shell SYNOPSIS
shell command [command] ... DESCRIPTION
The shell function concatenate its arguments, separating each by a space, and passes this string to the shell ($SHELL if set, otherwise /usr/bin/sh). EXAMPLES
Example 1: A sample output of shell command. Since the Form and Menu Language does not directly support background processing, the shell function can be used instead. `shell "build prog > /dev/null &"` If you want the user to continue to be able to interact with the application while the background job is running, the output of an exe- cutable run by shell in the background must be redirected: to a file if you want to save the output, or to /dev/null if you don't want to save it (or if there is no output), otherwise your application may appear to be hung until the background job finishes processing. shell can also be used to execute a command that has the same name as an FMLI built-in function. NOTES
The arguments to shell will be concatenate using spaces, which may or may not do what is expected. The variables set in local environments will not be expanded by the shell because "local" means "local to the current process." ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
sh(1), attributes(5) SunOS 5.10 5 Jul 1990 shell(1F)