Obsoleted please refer to here for New Scripts
Center All Chinese Punctuations
A simple word list test file, only one to one case, no one to many case
A Word list there is simple different from TC and SC, only one to one case, no one to many case
Center All Chinese Punctuations
A simple word list test file, only one to one case, no one to many case
A Word list there is simple different from TC and SC, only one to one case, no one to many case
| /* usbreset -- reset a USB device */ | |
| /* | |
| $ gcc usbreset.c -o usbreset | |
| $ sudo mv usbreset /usr/local/bin/ | |
| $ lsusb | |
| Bus 001 Device 004: ID ..... | |
| $ sudo usbreset /dev/bus/usb/001/004 | |
| */ | |
| #include <stdio.h> |
Sometimes you want to be able to debug a bash script. Usually the -x option
will suffice but sometimes something more sophisticated is needed.
In such instances using the DEBUG trap is often a good choice.
Attached to this gist is a example script to demonstrate how such a thing would work.