"Fossies" - the Fresh Open Source Software Archive

Member "elasticsearch-6.8.23/bin/elasticsearch-sql-cli" (6 Jan 2022, 427 Bytes) of package /linux/www/elasticsearch-6.8.23.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "elasticsearch-sql-cli": 6.8.22_vs_8.0.0-rc1.

    1 #!/bin/bash
    3 # Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
    4 # or more contributor license agreements. Licensed under the Elastic License;
    5 # you may not use this file except in compliance with the Elastic License.
    7 source "`dirname "$0"`"/elasticsearch-env
    9 source "`dirname "$0"`"/x-pack-env
   11 CLI_JAR=$(ls $ES_HOME/bin/elasticsearch-sql-cli-*.jar)
   13 exec \
   14   "$JAVA" \
   15   -jar "$CLI_JAR" \
   16   "$@"