docs: function readShebang(command) {
      var buffer;
      var fd;
      var match;
      var shebang;
  
      // Check if it is in the cache first
      if (shebangCache.has(command)) {
          return shebangCache.get(command);
      }
  
      // Read the first 150 bytes from the file
      buffer = new Buffer(150);
  
      try {
          fd = fs.openSync(command, 'r');
          fs.readSync(fd, buffer, 0, 150, 0);
          fs.closeSync(fd);
      } catch (e) { /* empty */ }
  
      // Check if it is a shebang
      match = buffer.toString().trim().match(/#!(.+)/i);
  
      if (match) {
          shebang = match[1].replace(/\/usr\/bin\/env\s+/i, '');   // Remove /usr/bin/env
      }
  
      // Store the shebang in the cache
      shebangCache.set(command, shebang);
  
      return shebang;
  }