f10421a5
f4b94bf6
1 2
3 4 5 6 7 8 9
#!/bin/sh # Get the MIME type for a given URL urlh "$1" Content-Type | # Use last line only, remove any charset suffix sed ' $!d s/; .*// '