Skip to content

Instantly share code, notes, and snippets.

View johnhaldeman's full-sized avatar

John Haldeman johnhaldeman

View GitHub Profile
@johnhaldeman
johnhaldeman / guardcli.tcl
Last active November 26, 2019 09:39
Guardium Simple Expect Script for Windows
#!/bin/sh
# \
exec tclsh "$0" ${1+"$@"}
package require Expect
# This is a simplified version of the Guardium expect script found here:
# http://www-01.ibm.com/support/knowledgecenter/SSMPHH_9.1.0/com.ibm.guardium91.doc/how_to/topics/how_to_automate_execution_of_guardapi_commands.html?lang=en
# The script runs some guardAPI calls located in a provided file.