11-08-2006
Hi,
I don't know what exact means by layout. The format of the dflt in windows is something like the following format which is a text file.
//////////////////////////////////////////////
printer "dflt"
height 66
width 80
after page control(L)
return ""
linefeed control(J)
///////////////////////////////////////////////
Rgds
10 More Discussions You Might Find Interesting
1. Programming
i hav tried to convert binary 2D data into text using binreader and writing into text file using streamwriter.
i use ReadSingle() function to convert from binary to ascii, although it works good in 1D data but not in more dimensions.
the kind of values i get are
-1.265369923E+038
and like
... (2 Replies)
Discussion started by: geet
2 Replies
2. Shell Programming and Scripting
im looking for anothr way to convert binary file into text file
im using old solaris version (exatcly like xxd -r)
thanks (2 Replies)
Discussion started by: modcan
2 Replies
3. AIX
Hi
I need to display the binary text of an clearn text which is sent as input to the shell script (c shell);
ex: I will pass "HELLO" as input, and i should get the binary format of the text
Thanks in advance
Mohan (1 Reply)
Discussion started by: mKarri
1 Replies
4. Shell Programming and Scripting
The 6th & 7th column of the text files represents date & time. I need this to be converted in julian format using command "date +%s -d <date>". I know the command, but dont know how to use it on the script
0 dbclstr-b IXT_Web Memphis_Prod_SQL_Full Memphis-Prod-SQL-Full-Application-Backup... (4 Replies)
Discussion started by: ajiwww
4 Replies
5. Shell Programming and Scripting
Hello everyone,
I have a binary file with a structure unknown. I have found 2 perl scripts that it seems to do the convertion but I get sintactic errors when I run them, may somebody test these 2 scripts please and see if really work?
One if from here... (10 Replies)
Discussion started by: Ophiuchus
10 Replies
6. Shell Programming and Scripting
Hello *nix specialists,
Im working for a non profit organisation in Germany to transport DSL over WLAN to people in areas without no DSL. We are using Linksys WRT 54 router with DD-WRT firmware There are at the moment over 180 router running but we have to change some settings next time. So my... (7 Replies)
Discussion started by: digidax
7 Replies
7. Windows & DOS: Issues & Discussions
Hmmm I think I found the correct subforum to ask my question...
I have some text files that I prepared in vi some time ago, and now I want to open and edit them with Windows Notepad. I don't have a Unix terminal at the moment so I need to do the conversion in Windows. Is there a way to do this?... (1 Reply)
Discussion started by: frys_hp
1 Replies
8. UNIX for Dummies Questions & Answers
Hi all,
I have some text files that I prepared in vi some time ago, and now I want to open and edit them with Windows Notepad. I don't have a Unix terminal at the moment so I need to do the conversion in Windows. Is there a way to do this? Or just reinsert thousands of line breaks again :eek: ? (2 Replies)
Discussion started by: frys_hp
2 Replies
9. Shell Programming and Scripting
Dear Users , Need to convert delimited text files in UNix server to an Excel file and move the excel file to Windows environment. Am trying to automate the whole process. Can anyone share the ideas,if they have done similar ones before...Thanks -Meera (1 Reply)
Discussion started by: meerakrish
1 Replies
10. Shell Programming and Scripting
I have input data looks like this which is a part of a csv file
7,1265,76548,"0102:04"
8,1266,76545,"0112:04"
I need to make the output data should look like this and the output data will be part of text file:
7|1265000 |7654899 |A|
8|12660000 |76545999 |B|
The logic behind the... (6 Replies)
Discussion started by: RJG
6 Replies
FLIP(1) Linux Programmer's Manual FLIP(1)
NAME
flip, toms, toix - do newline conversions between **IX and MS-DOS
SYNOPSIS
flip -h
flip [ -umvtsbz] file ...
flip [ -umvtsbz] -
toix [ -vtsbz] file ...
toms [ -vtsbz] file ...
DESCRIPTION
flip is a file interchange program that converts text file formats between **ix and MS-DOS. It converts lines ending with carriage-return
(CR) and linefeed (LF) to lines ending with just linefeed, or vice versa. If the special argument "-" is given, input is read from stdin
and written to stdout.
flip has the following features:
flip will normally refuse to convert binary files. You can override this.
When asked to convert a file to the same format that it already has, flip causes no change to the file. Thus to convert all files
to **IX format you can type
flip -u *
and all files will end up right, regardless of whether they were in MS-DOS or in **IX format to begin with. This also works in the
opposite direction.
If a file contains isolated CR characters for underlining or overprinting, flip does not change them.
flip preserves file timestamps. You can override this.
flip preserves file permissions.
flip is written in C and will compile and run under MS-DOS/Turbo C, 4.3BSD, and System V.
flip accepts wildcards and multiple filenames on the command line.
If a user interrupt aborts flip, it does not leave behind any garbage files or cause corruption of the files being converted.
When converting from MS-DOS to **IX format, flip removes any trailing control Z (the last character in the file), but leaves embed-
ded control Z characters unchanged. This minimizes the possibility of accidentally converting a binary file that contains a control
Z near the beginning. You can override this and ask flip to recognize the first control Z found as end-of-file.
flip can be asked to strip the high (parity) bit as it converts a file.
flip is normally invoked as:
flip -umhvtb file ...
One of -u, -m, or -h is required. Switches may be given separately or combined together after a dash. For example, the three command
lines given below are equivalent:
flip -uvt *.c
flip -u -v -t *.c
flip -u -vt *.c
On systems that allow a program to know its own name, flip may be renamed (or linked) to a file called toix for conversion to **IX format,
or to a file called toms for conversion to MS-DOS format. When invoked with the name toix or toms, flip will act as if it were invoked
with the -u or -m option respectively.
OPTIONS
-u Convert to **IX format (CR LF => LF, lone CR or LF unchanged, trailing control Z removed, embedded control Z unchanged).
-m Convert to MS-DOS format (lone LF => CR LF, lone CR unchanged).
-h Give a help message.
-v Be verbose, print filenames as they are processed.
-t Touch files (don't preserve timestamps).
-s Strip high bit.
-b Convert binary files too (else binary files are left unchanged).
-z Truncate file at first control Z encountered.
AUTHOR
Rahul Dhesi <dhesi@bsu-cs.bsu.edu>.
SEE ALSO
unix2dos(1), dos2unix(1).
Linux 2.0 July 20, 2002 FLIP(1)