Bash Equivalent of the ifmain Pattern in Python

Posted on Jul 28, 2022 in Computer Science • Tagged with Computer Science, programming, Shell, Bash, ifmain, Python, module, script, function, import, source

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

Fish Shell is preferred to Bash/Zsh. The following content is for Bash/Zsh only.

#!/usr/bin/env bash

function install_icon.usage() {
    cat << EOF
NAME
    /scripts/sys …

Continue reading

Import/Export Data to/from SAS

Posted on Jan 30, 2015 in Computer Science • Tagged with programming, SAS, import, procedure, Excel

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

Import Data to SAS

  1. The IMPORT procedure is based on the DATA step. When you run an IMPORT procedure, the unlying data step code is printed into …


Continue reading