10-02-2002
Here's one that was shown to me; on the unix box, run this perl 1 liner from the command line - replace "dos.file" with the file to be converted from dos to unix:
perl -i -pne 's/\r\n/\n/g' dos.file
the file will then be UNIX usable
I love Perl!
10 More Discussions You Might Find Interesting
1. Programming
I am porting Dll from Windows NT to Unix,
Could any body pls guide me how should I proceed?? (3 Replies)
Discussion started by: Vipin
3 Replies
2. Windows & DOS: Issues & Discussions
Hi,
Is it possible or is there a program out there that can get the byte size of a unix cd on the windows platform.
Any help would be really great with this.
Thanks (2 Replies)
Discussion started by: johnjsm
2 Replies
3. Shell Programming and Scripting
Hey guys,
I am working on my shell scripts in wordpad in windows. Then, I upload it to my unix using psftp, but when I open those files with "vi" in Unix, there are all these "^M" characters in the file. Would anyone of you have a clue as to why?
Help would be appreciated.
Thanks,
Laud (4 Replies)
Discussion started by: Laud12345
4 Replies
4. Shell Programming and Scripting
HI,
I have one java program in windows OS. From that java program, I want to run the shell script file in the UNIX OS. Is it possible ??If yes, please post me the source code, how to do that ??
Thanks,
Srinivas (3 Replies)
Discussion started by: srinivas peyyal
3 Replies
5. UNIX for Dummies Questions & Answers
Hi
I have a rather large set of sas programs that i want to port to unix sas.
All of these programs uses windows functionality somehow. For example win API calls and ole-dll:s via com and dcom.
Now my company is moving to sas on unix, and we must port these apps (sas macros).
So what Im... (3 Replies)
Discussion started by: iommi
3 Replies
6. UNIX for Dummies Questions & Answers
Hi all,
I'm working on Windows, connecting to my Unix account by different ways: by FTP opening files in UltraEdit32, by mapping drive to browse, by Exceed or Telnet to compile at Unix account. Actually, that is what I would like to change:
I'd like to make a batch file which would connect to... (7 Replies)
Discussion started by: olgafb
7 Replies
7. Shell Programming and Scripting
I would like to convert some Unix scripts into machine language. I dont know how to programe in C. Is there any software out there that I can use to convert these Unix scripts into machine language.
Thanks. (1 Reply)
Discussion started by: coburn
1 Replies
8. UNIX for Dummies Questions & Answers
I was able to convert my csv file in Unix to xls. I would like to export the converted xls file to a windows environment. I have to manually connect using the following below:
ftp: 192.x.x.x -> username/pass -> cd -> mget *.xls and then confirm.
Could I automate this process into a shell... (4 Replies)
Discussion started by: ravzter
4 Replies
9. AIX
How to allow Windows platform to access Unix(AIX) based disk volumes? (2 Replies)
Discussion started by: rainbow_bean
2 Replies
10. Programming
Good day!
I would just like to ask about an issue I encountered. There is a Java program (version1.3) that we use that is hosted in Unix (HP-UX B.11.11 U), and one of its functions copies a file and writes it to another directory. It usually runs fine, but one day, it wrote a file that had 000... (2 Replies)
Discussion started by: mike_s_6
2 Replies
IXPC(1) General Commands Manual IXPC(1)
NAME
ixpc - ixp client
SYNOPSIS
ixpc [-a address] action file
ixpc -v
DESCRIPTION
Overview
ixpc is a client to access a 9P file server from the command line or from shell scripts. It can be used to configure wmii(1).
Options
-a address
Lets you specify the address to which ixpc will establish a connection. If this option is not supplied, and the environment variable
IXP_ADDRESS is set, ixpc will use this value as its address. Currently, the address can only be a unix socket file or a tcp socket.
The syntax for address is taken (along with many other profound ideas) from the Plan 9 operating system and has the form
unix!/path/to/socket for unix socket files, and tcp!hostname!port for tcp sockets.
-v Prints version information to stdout, then exits.
The syntax of the actions is as follows:
write Writes the supplied data from the standard input to file, overwriting any previous data. The data to be written is arbitrary and
only gains meaning (and restrictions) when it is interpreted by wmiiwm(1). See EXAMPLES below.
xwrite The same as write, but the data is taken from subsequent arguments, rather than the standard input.
create Creates file or directory. If the file exists, nothing is done.
ls Lists files and directories.
read Reads file or directory contents.
remove Removes file or directory tree.
ENVIRONMENT
IXP_ADDRESS
See above.
EXAMPLES
ixpc ls /
This prints the root directory of the wmii filesystem, if IXP_ADDRESS is set to the address of wmii. For more information about the
contents of this filesystem, see wmiiwm(1).
ixpc xwrite /ctl quit
Write 'quit' to the main control file of the wmii filesystem, effectively leaving wmii.
ixpc write /keys < keys.txt
Replace the contents of /keys with the contents of keys.txt
SEE ALSO
wmii(1)
http://www.cs.bell-labs.com/sys/man/5/INDEX.html
ixpc-VERSION IXPC(1)