Emacs lowercase« an older post

Pass all bash script args to command in script

Snippet

Use "$@"

#!/bin/bash
 
npx command_in_package_json "$@"

Add new comment

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.