File: expand_stars.sh

package info (click to toggle)
cryptgps 0.2.1-9
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie-kfreebsd, stretch
  • size: 296 kB
  • sloc: ml: 2,627; ansic: 172; sh: 169; makefile: 118
file content (3 lines) | stat: -rwxr-xr-x 79 bytes parent folder | download | duplicates (8)
1
2
3
#!/bin/bash
# expand '(*' to '(**'
sed 's/^\( *\)(\*\( [^\$=]\)/\1(**\2/' "$@"