File: fixstrings

package info (click to toggle)
brltty 6.8-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 35,768 kB
  • sloc: ansic: 150,446; java: 13,484; sh: 9,667; xml: 5,702; tcl: 2,634; makefile: 2,335; 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