File: ts-gtab-edit.bat

package info (click to toggle)
gcin 2.9.4%2Bdfsg1-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 21,792 kB
  • sloc: cpp: 34,326; ansic: 9,319; makefile: 658; sh: 556
file content (22 lines) | stat: -rw-r--r-- 438 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
set gcin_sys=%GCIN_DIR%
set gcin_bin=%gcin_sys%\bin
set gcin_script=%gcin_sys%\script
set gcin_user=%APPDATA_GCIN%
cd /d %gcin_user%


set f=%1.append.gtab.tsin-db
if exist %f% goto found
set f=%1.tsin-db
echo %f%
if exist %f% goto found
echo "No %1.*.gtab.tsin-db exist"
rem exit 0

:found
set fsrc=tmpfile

"%gcin_bin%"\tsd2a32 %f% > %fsrc% 
call "%gcin_script%"\utf8-edit.bat %fsrc%
"%gcin_bin%"\tsa2d32 %fsrc% %f%
cd /d %gcin_script%