delete old

This commit is contained in:
zenobit 2023-03-27 06:22:45 +02:00
parent 179c616af3
commit c8ec6743b6
2 changed files with 0 additions and 36 deletions

View File

@ -1,19 +0,0 @@
#!/bin/bash
# DEBUG mod
#bash -x quickyad 2>&1 | tee output.log
# YAD gui script for excellent quickemu
#TODO Download Icons
#TODO Add homepages to right click
echo "Running..."
# dependencies checks
if ! command -v yad >/dev/null 2>&1; then
echo "You are missing yad..." >&2
exit 1
fi
if ! command -v quickemu >/dev/null 2>&1; then
echo "You are missing quickemu..." >&2
exit 1
fi

View File

@ -1,17 +0,0 @@
#!/bin/bash
# Get the name of the script from the command line argument
script_name=$1
# Get a list of all the function names in the script
function_names=$(grep -oP '^[[:space:]]*function \K\w+' "$script_name")
# Sort the function names alphabetically
sorted_function_names=$(echo "$function_names" | sort)
# Loop through the sorted function names and print the function definitions
for function_name in $sorted_function_names
do
# Print the function definition to stdout
grep -A $(wc -l < "$script_name") -w "function $function_name" "$script_name"
done