This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
declare -xr INSTALL_PREFIX="${INSTALL_PREFIX:-"$HOME/.local"}" | |
declare -xr XDG_DATA_HOME="${XDG_DATA_HOME:-"$HOME/.local/share"}" | |
declare -xr XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-"$HOME/.config"}" | |
function msg() { | |
local text="$1" | |
local div_width="80" | |
printf "%${div_width}s\n" ' ' | tr ' ' - |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
########################################################## | |
# Santito Tester Script for push_swap and checker # | |
# # | |
# Usage: ./tester.sh <num_elements> <num_tests> # | |
# # | |
# This script tests the push_swap program using random # | |
# sets of numbers and checks the output with the checker. # | |
# # |