Goog_Jobs
(Goog Jobs)
March 5, 2012, 8:17am
1
Hi, people!
curl -XGET 'localhost:9200/tapirwiki/tapirwiki/_search' -d '{
"fields" : ["title"],
"query" : {
"query_string" : {
"query" : "*"
}
}
}'>>t.txt
how the pass the data from curl to a variable in bash ?
is there a function which help to find a substring and reture false or ture?
Paul_Loy
(Paul Loy)
March 5, 2012, 8:35am
2
really not the place to ask bash questions. Try google search:
http://lmgtfy.com/?q=bash+assigning+variables
On Mon, Mar 5, 2012 at 12:17 AM, Goog Jobs googcheng@gmail.com wrote:
Hi, people!
curl -XGET 'localhost:9200/tapirwiki/tapirwiki/_search' -d '{
"fields" : ["title"],
"query" : {
"query_string" : {
"query" : "*"
}
}
}'>>t.txt
how the pass the data from curl to a variable in bash ?
is there a function which help to find a substring and reture false or
ture?
--
Paul Loy
paul@keteracel.com
http://uk.linkedin.com/in/paulloy