This is the code from the control.sh calling and checking for errors on return from the call: func_logwriter "Ready to start calling the myguide stored procedures" . ${SCRIPTDIR}/callMyguideStoredProcedures.sh if [[ $?>0 ]] then func_exit "Error - failure to call one or more of ...
Help needed in function calling in a script :confused:Hi , I have a script as shown below: rpttxt() { name="$*" awk '/'"${name}"'/ {print $2 $3"=" $4}' file.txt } xx = rpttxt "COL_HEAD_1" awk 'BEGIN {printf("%36s \n ","'"$xx"'")}' rpttxt() is a function...
I'm running a bash shell script and I want to make a call to a SAS DB to kick off a SAS procedure. We're going to schedule this script in cron so we want the script to log into SAS and kick this procedure off. What is the call to SAS from a bash shell script that doe...
All, I have a simple bash script which pulls down some data from git and restarts a service. I'd like to give a button to my SOC on a Splunk
have_delay();// Call the task from function 21 join_none; 22 $display("\n",$realtime,"\tI am a function."); 23 $display("\n\tSee, how the function called the task which have a delay greater than 0\n"); 24 end 25
A janky lil bash script to add function calling to your LLM, built for https://github.com/ggerganov/llama.cpp - skidd-level-100/jankllama
Calling shell functions from another shell script Hi, I have a query .. i have 2 scripts say 1.sh and 2.sh 1.sh contains many functions written using shell scripts. 2.sh is a script which needs to call the functions definded in 1.sh function calls are with arguments. Can some one...
A janky lil bash script to add function calling to your LLM, built for https://github.com/ggerganov/llama.cpp - mxsotomayor/jankllama
Check if 'num' is negative. If it is, we print an error message and exit the script. Finally calculate the factorial of 'num' using a loop and store the result in the 'result' variable. 7. Maximum Function: Write a Bash script that defines a function named maximum that takes two num...
(Even recommendations to move to using a command-line makefile would be ok, if that is known to work better). I'd even be happy calling Tcl 'exec' on a bash script, where the bash script setup the environment correctly. Its the 'correctly' part that is eluding me. ...