03-22-2014
Perderabo, it tells me that I have illegal input sequence at position 0
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Need Help?? We receive Files From GM Motors and they written on a Sun Workstation using the Tar Command on a 4mm Dat Tape. We have an HP sure Store 24 Tape drive that will Execpt but when i do that it says that the media is bad. was wondering if there was any software that would read it in its... (2 Replies)
Discussion started by: jefft1976
2 Replies
2. UNIX Desktop Questions & Answers
Hey pllz,
ive got a little problem,
i want to convert a bmp of gif or jpg to an unix format (bm)
anybody got any suggestions ?
greets\EJ (1 Reply)
Discussion started by: EJ =)
1 Replies
3. OS X (Apple)
I loaded OS X Panther on my Mac G4 and found that many files previously saved as Word or Word Perfect files were inadventently converted to Unix executable files. When I try to read these in Word, it cannot recognize or translate the file properly. Does anyone know how to translate these files? Is... (4 Replies)
Discussion started by: Steven Greenber
4 Replies
4. UNIX for Dummies Questions & Answers
I am trying to FTP a text file from a machine running LynxOS and I am having problems with the way windows "sees" the characters. For example this is how windows presents the text:
DevProcRcpClass
The boxes are what I am having problems with. When viewing the same file on a... (3 Replies)
Discussion started by: mchristisen
3 Replies
5. Windows & DOS: Issues & Discussions
Is there a tool available to convert UNIX (BASH Shell) scripts to DOS scripts?
I understand that DOS scripting is far inferior to unix scripting, and therfore this conversion may not be possible.
Alternativley, perhaps I could convert my Unix scripts to C... then compile it for a windows... (2 Replies)
Discussion started by: Crozz
2 Replies
6. Shell Programming and Scripting
Hello folks
I am working on a project that requires me to write a script that operates on a bunch of text files. When I try less file.txt I see a bunch of ^M's everywhere. Some Googling tells me that this is because the files have a DOS fileformat and found the following fixes:
sed 's/^M$//'... (5 Replies)
Discussion started by: ksk
5 Replies
7. Shell Programming and Scripting
Hi
i try to change the date-format from DD/MM/YYYY into MM/DD/YY.
Input-Data:
...
31/12/2013,23:40,198.00,6.20,2,2,2,1,11580.0,222
31/12/2013,23:50,209.00,7.30,2,2,3,0,4380.0
01/01/2014,00:00,205.90,8.30,2,2,3,1,9360.0,223
...
Output-Data should be:
...... (7 Replies)
Discussion started by: IMPe
7 Replies
8. Shell Programming and Scripting
How to convert this:
F1-R1 F1-R2 F1-R3 into a flat file for bash?? Each record
F2-R1 F2-R2 F2-R3
F3-R1 F3-R2 F3-R3
F4-R1 F4-R2 F4-R3is on one line with all fields for that record, put into an output file. The output file should look like this when converted:
F1-R1,F2-R1,F3-R1,F4-R1... (6 Replies)
Discussion started by: bud1738
6 Replies
9. Homework & Coursework Questions
I uploaded a .dat file from sftp to my server and after using dos2unix to convert the file and check my work it says that the file was not transferred correctly and that the content is garbled. Please help (3 Replies)
Discussion started by: Ovid158
3 Replies
LEARN ABOUT CENTOS
th_isaccept
thai/thinp.h(3) libthai thai/thinp.h(3)
NAME
thai/thinp.h -
Thai string input sequence filtering.
SYNOPSIS
Data Structures
struct thinpconv_t
Input sequence correction info.
Enumerations
enum thstrict_t { ISC_PASSTHROUGH = 0, ISC_BASICCHECK = 1, ISC_STRICT = 2 }
Strictness of input sequence checking, according to WTT 2.0.
Functions
int th_isaccept (thchar_t c1, thchar_t c2, thstrict_t s)
Check for acceptance of input sequence.
int th_validate (struct thcell_t context, thchar_t c, struct thinpconv_t *conv)
Check and try to correct input sequence.
Detailed Description
Thai string input sequence filtering.
Enumeration Type Documentation
enum thstrict_t
Strictness of input sequence checking, according to WTT 2.0.
Enumerator
ISC_PASSTHROUGH
No check
ISC_BASICCHECK
Basic check
ISC_STRICT
Strict check
Function Documentation
int th_isaccept (thchar_tc1, thchar_tc2, thstrict_ts)
Check for acceptance of input sequence.
Parameters:
c1 : previous character
c2 : the newly input character
s : strictness level
Returns:
non-zero if accepted, 0 otherwise
Checks if, according to WTT 2.0 strictness level s, c2 is allowed after c1.
int th_validate (struct thcell_tcontext, thchar_tc, struct thinpconv_t *conv)
Check and try to correct input sequence.
Parameters:
context : previous cell
c : the newly input character
conv : the storage for resulting correction info
Returns:
0 if the input is to be rejected non-zero otherwise.
Given the previous cell as context, edit the input buffer using the given input c, maintaining WTT canonical order, and do some convenient
correction in conv.
Author
Generated automatically by Doxygen for libthai from the source code.
Version 0.1.14 Tue Jun 17 2014 thai/thinp.h(3)