? idioms for returning multiple values in shell scripting

Are there any idioms for returning multiple values from a bash function within a script?http://tldp.org/LDP/abs/html/assortedtips.html describes how to echo multiple values and process the results (e.
 ? How do you tell if a string contains another string in Unix shell scripting?

I want to write a Unix shell script that will do various logic if there is a string inside of another string. For example, if I am in a certain folder, branch off. Could someone please tell me how to
 ? How do you tell if a string contains another string in Unix shell scripting?

I want to write a Unix shell script that will do various logic if there is a string inside of another string. For example, if I am in a certain folder, branch off. Could someone please tell me how to
 ? How do you tell if a string contains another string in Unix shell scripting?

I want to write a Unix shell script that will do various logic if there is a string inside of another string. For example, if I am in a certain folder, branch off. Could someone please tell me how to
 ? how to find file name has a string x or not

This question already has an answer here: How do you tell if a string contains another string in Unix shell scripting? 11 answers
 ? Shell script to check if a string contains something

I have the following shell script. if [ "$group" == "First*" ]] then OWNER_EMAIL=first-logs@ginger.com elif [ "$group" == "Second*" ]] then OWNER_EMAIL=second-team@ginger.com
 ? KornShell - expr index command not working

I am trying to get the index of a particular substring from a string in KornShell (ksh), but all I get is syntax error. The Below is the syntax I am usingtrying to get the index of "logic" from string
 ? Way to create multiline comments in Bash?

I have recently started studying shell script and I'd like to be able to comment out a set of lines in a shell script. I mean like it is in case of C/Java :/* comment1 comment2 comment3*/`How cou
 ? Generate shell script call tree

I've been handed a project that consists of several dozen (probably over 100, I haven't counted) bash scripts. Most of the scripts make at least one call to another one of the scripts. I'd like to g
 ? Why does Fish shell have dark blue as the default color for directories

Is it just me?I have just installed fish using brew install fish and I'm using iTerm2.The color is absolutely unreadable. How do I change it to something nicer? Technically that isn't fish doing th
 ? Navigation Problems in a sapui5 unified Shell (sap.ui.unified.Shell)

I have used unified Shell control in order to implement the facebook-like swipe menu and I integrated in it a list so that I can enter menu items. The idea is that when a user clicks on a certain list
 ? Shell include space and asterisk

Defind string array in shell script below. I want show the sql nomal, what should I do?a=("select * from t1;""select * from t2;""select from t3;")echo ${#a[@]}"--------"for var1 in ${a[@]};do echo
 ? Run a script in remote UNIX using windows command prompt

I currently connect to my UNIX installed on my remote server using Secure CRT. I have a script(sh) on my UNIX which generates a file. I need to su(switch user) before executing the script.I then ftp t
 ? Curl Request : response using curl Request is not properly formatted(xml)

i am loading xml as String from Remote using curl as below:$ curl -i -H "Accept: application/xml" -X GET "URL Here"but response is not xml format, hence not easily readable. <?xml version="1.0" en
 ? Can XSLT execute a shell script at the OS level?

*strong text*I have a production flow that combines XSLT and some shell scripts in about 4 steps before it reaches completion. I execute each step manually at the moment.I'm using Saxon 9 from the co
 ? How can i list the recommended base line in ClearCase

I'm currently writing a script that has to check the recommended baseline of the Integration stream, so the only parameters that I know is the stream name, I'm wondering if there is a way to do that u

Page 1 of 141  |  Show More Pages:  Top Prev Next Last