version() abuse! Note of library writers.

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Wed Nov 18 07:27:05 PST 2009


Travis Boucher wrote:
> Another note, something I see in tango and I don't know why I didn't 
> think about it before.
> 
> If you want to require bash, use:
> 
> #!/usr/bin/env bash
> 
> instead of
> 
> #!/bin/bash
> #!/usr/bin/bash

Sadly, env may be in /bin/ or /usr/bin/.

Andrei



More information about the Digitalmars-d mailing list