github.com/facebookincubator/go-belt@v0.0.0-20230703220935-39cd348f1a38/.github/scripts/check_license_header.sh (about)

     1  #!/bin/sh
     2  FILE_PATH="$1"; shift
     3  exec grep -E '(Meta Platforms, Inc. and affiliates)|(Facebook, Inc(\.|,)? and its affiliates)|([0-9]{4}-present(\.|,)? Facebook)|([0-9]{4}(\.|,)? Facebook)' "$FILE_PATH" >/dev/null