File: fixstrings

package info (click to toggle)
brltty 6.9-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 44,844 kB
  • sloc: ansic: 154,246; java: 13,514; sh: 9,934; xml: 5,672; tcl: 2,679; makefile: 2,346; awk: 713; lisp: 366; python: 321; ml: 301
file content (10 lines) | stat: -rwxr-xr-x 95 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
set -e

sed -e '
s/$/<\/string>/
s/ /">/
s/^/  <string name="/
' -i "${@}"

exit 0