Skip to content

christian-korneck/argprint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

argprint

a simple troubleshooting tool that repeats the command line arguments that get passed to it. Useful to inspect escaping, etc. Can be used i.e. as a temporary wrapper for any other command:

$ alias docker=argprint
$ docker run --rm -ti fedora:34 /bin/bash -c "echo hello world"
-----------------
args: 8
argprint
run
--rm
-ti
fedora:34
/bin/bash
-c
echo hello world
-----------------
$ unalias docker