Skip to content

Instantly share code, notes, and snippets.

@wari
Created August 5, 2011 10:43
Show Gist options
  • Save wari/1127292 to your computer and use it in GitHub Desktop.
Save wari/1127292 to your computer and use it in GitHub Desktop.
~ % cat bdsmtest.sh
#!/usr/bin/env bdsm
modules array
my_array=(1 2 3 4)
echo ${my_array[@]}
array_shift my_array
echo ${my_array[@]}
~ % ./bdsmtest.sh
1 2 3 4
/usr/local/bdsm/extensions/builtin/bdsm/modules/shell/array/dsl: line 557: =1: command not found
A command has returned an not handled error code (127).
+# source file # function()
=================================================================================================================================================================================================================
less +557 /usr/local/bdsm/extensions/builtin/bdsm/modules/shell/array/dsl # array_shift()
less +6 ./bdsmtest.sh # source()
less +501 /usr/local/bdsm/extensions/builtin/core/modules/shell/logging/dsl # action_source()
less +86 /usr/local/bdsm/extensions/builtin/core/modules/shell/core/initialize # source()
less +30 /bin/bdsm # main()
=================================================================================================================================================================================================================
~ %
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment