Anons79 Mini Shell

Directory : /proc/self/root/lib/python2.7/site-packages/ansible/plugins/shell/
Upload File :
Current File : //proc/self/root/lib/python2.7/site-packages/ansible/plugins/shell/sh.pyo

�
�Udac@`sbddlmZmZmZeZdZddlmZddl	m
Z
de
fd��YZdS(i(tabsolute_importtdivisiontprint_functions
name: sh
plugin_type: shell
short_description: "POSIX shell (/bin/sh)"
version_added: historical
description:
  - This shell plugin is the one you want to use on most Unix systems, it is the most compatible and widely installed shell.
extends_documentation_fragment:
  - shell_common
(tshlex_quote(t	ShellBasetShellModulecB`s_eZed�ZdZdZdZdZdZd	Z	d
Z
dZdZd
Z
dZd�ZRS(tshtzshtbashtdashtkshtechot;s
s> /dev/null 2>&1s&&s||s"`s`"t(t)c
C`s�t|�}dtd|d|d|jd|j�}dj|||j�dj|||j�g}d|jj|�}d	|||j|f}|S(
Ns�rc=flag; [ -r %(p)s ] %(shell_or)s rc=2; [ -f %(p)s ] %(shell_or)s rc=1; [ -d %(p)s ] %(shell_and)s rc=3; %(i)s -V 2>/dev/null %(shell_or)s rc=4; [ x"$rc" != "xflag" ] %(shell_and)s echo "${rc}  "%(p)s %(shell_and)s exit 0tptit	shell_andtshell_oru({0} -c 'import hashlib; BLOCKSIZE = 65536; hasher = hashlib.sha1();{2}afile = open("'{1}'", "rb"){2}buf = afile.read(BLOCKSIZE){2}while len(buf) > 0:{2}	hasher.update(buf){2}	buf = afile.read(BLOCKSIZE){2}afile.close(){2}print(hasher.hexdigest())' 2>/dev/null)u�({0} -c 'import sha; BLOCKSIZE = 65536; hasher = sha.sha();{2}afile = open("'{1}'", "rb"){2}buf = afile.read(BLOCKSIZE){2}while len(buf) > 0:{2}	hasher.update(buf){2}	buf = afile.read(BLOCKSIZE){2}afile.close(){2}print(hasher.hexdigest())' 2>/dev/null)s %s s%s; %s %s (echo '0  '%s)(Rtdictt
_SHELL_ANDt	_SHELL_ORtformatt_SHELL_EMBEDDED_PY_EOLtjoin(tselftpatht
python_interptshell_escaped_pathttesttcsumstcmd((s</usr/lib/python2.7/site-packages/ansible/plugins/shell/sh.pytchecksum/s+(RRRR	R
(t__name__t
__module__t	frozensettCOMPATIBLE_SHELLStSHELL_FAMILYtECHOtCOMMAND_SEPRt_SHELL_REDIRECT_ALLNULLRRt_SHELL_SUB_LEFTt_SHELL_SUB_RIGHTt_SHELL_GROUP_LEFTt_SHELL_GROUP_RIGHTR (((s</usr/lib/python2.7/site-packages/ansible/plugins/shell/sh.pyRsN(t
__future__RRRttypet
__metaclass__t
DOCUMENTATIONtansible.module_utils.six.movesRtansible.plugins.shellRR(((s</usr/lib/python2.7/site-packages/ansible/plugins/shell/sh.pyt<module>s


Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]