All these tails of woe. Someday someone will invent 'undelete'.  
							
						
					 
							
						 
							
						 
							
						
 
							
						
~$ cat doh
#! /bin/bash
set -u
rm "${foo}/${bar}"
~$ ./doh
./doh: line 3: foo: unbound variable
~$ cat duh
#! /bin/bash
rm "${foo:?}/${bar:?}"
~$ ./duh
./duh: line 2: foo: parameter null or not set
 
							
						

Comment