| Current File : /home/mmdealscpanel/yummmdeals.com/examples.zip |
PK �
[ �%R� � macros.d/macro.5.shnu �[��� #silent
s snippets
a=`cat %b`
if [ "$a" = "fori" ]; then
echo "for (i = 0; i _; i++)" > %b
fi
if [ "$a" = "ife" ]; then
cat <<EOF > %b
if ( )
{
}
else
{
}
EOF
fi
if [ "$a" = "GPL" ]; then
cat >>%b <<EOF
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
EOF
fi
if [ "$a" = "type" ]; then
cat <<EOF > %b
typedef struct {
;
} ?;
EOF
fi
PK �
[��W�� � macros.d/macro.0.shnu �[��� m make
TMPFILE=`mktemp ${MC_TMPDIR:-/tmp}/up.XXXXXX` || exit 1
make 2> $TMPFILE
mcedit $TMPFILE
rm $TMPFILE
PK �
[l�/� � macros.d/macro.7.shnu �[��� #silent
w delete trailing whitespace
TMPFILE=`mktemp ${MC_TMPDIR:-/tmp}/up.XXXXXX` || exit 1
cat %b > $TMPFILE
cat $TMPFILE | sed 's/[ \t]*$//' > %b
PK �
[�Vhm m macros.d/macro.4.shnu �[��� #silent
t Indent `C' formatter
indent -gnu -fc1 -i4 -bli0 -nut -bap -l100 %b 1>/dev/null 2> %e
PK �
[�h"�� � macros.d/macro.1.shnu �[��� #silent
u Upper case selection
TMPFILE=`mktemp ${MC_TMPDIR:-/tmp}/up.XXXXXX` || exit 1
cat %b > $TMPFILE
cat $TMPFILE| sed 's/\(.*\)/\U\1/' >%b
rm -f $TMPFILE
PK �
[��+F� � macros.d/macro.6.shnu �[��� #silent
e execute something
TMPFILE=`mktemp ${MC_TMPDIR:-/tmp}/up.XXXXXX` || exit 1
cat %b > $TMPFILE
sh $TMPFILE > %b
PK �
[wx7q� � macros.d/macro.3.shnu �[��� #silent
S Sort selection
TMPFILE=`mktemp ${MC_TMPDIR:-/tmp}/up.XXXXXX` || exit 1
cat %b > $TMPFILE
cat $TMPFILE| sort >%b
rm -f $TMPFILE
PK �
[ �%R� � macros.d/macro.5.shnu �[��� PK �
[��W�� � & macros.d/macro.0.shnu �[��� PK �
[l�/� � � macros.d/macro.7.shnu �[��� PK �
[�Vhm m � macros.d/macro.4.shnu �[��� PK �
[�h"�� � � macros.d/macro.1.shnu �[��� PK �
[��+F� � � macros.d/macro.6.shnu �[��� PK �
[wx7q� � � macros.d/macro.3.shnu �[��� PK E s