/[d-i]/trunk/installer/doc/manual/scripts/set_untranslated
ViewVC logotype

Contents of /trunk/installer/doc/manual/scripts/set_untranslated

Parent Directory Parent Directory | Revision Log Revision Log


Revision 22119 - (show annotations) (download)
Mon Sep 27 18:43:52 2004 UTC (8 years, 7 months ago) by fjpop-guest
File size: 622 byte(s)
- Moved all scripts to a ./scripts directory
- Moved some unused scripts to ./scripts/historic
- Created scripts to convert translations to .po files

1 #!/bin/sh
2
3 TMP_FILE="/tmp/set_untranslated.$$"
4
5 if [ "$1" = "--help" ] ; then
6 echo "Usage: $0 <range> <filename>"
7 echo " where <range> is <number> or <start:end>"
8 exit 0
9 fi
10 if [ $# -ne 2 ] || [ ! -f $2 ] ; then
11 echo "Usage: $0 <range> <filename>"
12 echo " where <range> is <number> or <start:end>"
13 exit 1
14 fi
15
16
17 awk -f mark_untranslated.awk -v RANGE="$1" $2 >$TMP_FILE
18 if [ $? -eq 0 ] ; then
19 cp $2 $2.sv
20 cp $TMP_FILE $2
21
22 echo ""
23 echo "NOTE"
24 echo "The original file has been replaced!"
25 echo "A copy of the original file was saved as '$2.sv'."
26 fi
27
28 rm $TMP_FILE
29 exit 0

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.5