/usr/lib/gwyddion/plugins/process/yellow.sh is in gwyddion-plugins 2.38-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | #!/bin/sh
# @(#) $Id: yellow.sh 1064 2004-02-04 17:18:41Z yeti $
# An extremely simple Gwyddion plug-in example in shell. Demonstrates data
# and metadata not outputted are retained from the original data.
# Written by Yeti <yeti@gwyddion.net>.
# Public domain.
case "$1" in
register)
# Plug-in info.
echo "yellow"
echo "/_Test/Set Palette to _Yellow (shell)"
echo "noninteractive with_defaults"
;;
run)
run=$2
# We don't need to read the input when the output doesn't depend on it.
echo "/0/base/palette=Yellow" >$3
;;
*)
echo "*** Error: plug-in has to be called from Gwyddion plugin-proxy." 1>&2
exit 1
;;
esac
|