File: new

package info (click to toggle)
synfigstudio 1.5.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 162,048 kB
  • sloc: cpp: 208,474; javascript: 25,487; ansic: 13,216; python: 7,509; sh: 6,391; makefile: 2,999; objc: 1,400; csh: 486; perl: 238; ruby: 73; xml: 11
file content (18 lines) | stat: -rwxr-xr-x 444 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#! /bin/sh

# this script will create a new bug report from the template

printf "\n  please 'git fetch' and rebase, then hit return to continue (or control-c to abort) "
read x

file=$(printf "open/%06d.txt" $(($(find . -name '??????.txt' | cut -d/ -f3 | cut -d. -f1 | sort | tail -1 | sed 's/^0*//')+1)))
cp template.txt $file
cat << EOF

  the new bug report is in:

    $file

  please commit it as soon as possible to avoid conflicts

EOF