AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
#Operatingsystems
#Servers
 View Only
  • 1.  AIX unix2dos

    Posted 07/19/10 09:30 PM

    Originally posted by: the_smit


    Hi Everyone,

    Does anyone of you know where I can get (for free) the unix2dos software for AIX 5.3?
    #AIX-Forum


  • 2.  Re: AIX unix2dos

    Posted 07/19/10 09:42 PM

    Originally posted by: orphy


    You could have found the answer yourself in 5 seconds. Here's what I did:

    google.com
    search for "unix2dox aix"

    and the first link brought me to

    http://www.perzl.org/aix/index.php?n=Main.Unix2dos
    Orphy
    #AIX-Forum


  • 3.  Re: AIX unix2dos

    Posted 07/19/10 11:46 PM

    Originally posted by: the_smit


    yeah I saw that too, but the link for the AIX installer is not working.
    #AIX-Forum


  • 4.  Re: AIX unix2dos

    Posted 07/20/10 10:05 AM

    Originally posted by: orphy


    By "AIX installer", did you mean smitty installp? If so, you should use the rpm command to install this since this is an RPM, not an LPP. I just grabbed it and it worked for me.
    > oslevel -s
    5300-07-02-0806
    > ls -l unix2dos-2.2-1.aix5.1.ppc.rpm
    -rw-r--r-- 1 root system 8819 Jul 20 08:55 unix2dos-2.2-1.aix5.1.ppc.rpm
    > rpm -ivh unix2dos-2.2-1.aix5.1.ppc.rpm
    unix2dos ##################################################
    > rpm -qa|grep unix2dos
    unix2dos-2.2-1
    > rpm -ql unix2dos-2.2-1
    /opt/freeware/bin/unix2dos
    /opt/freeware/doc/unix2dos-2.2
    /opt/freeware/doc/unix2dos-2.2/COPYRIGHT
    /opt/freeware/man/man1/unix2dos.1
    /usr/bin/unix2dos
    > ls -l /opt/freeware/bin/unix2dos
    -rwxr-xr-x 1 root system 15662 Sep 26 2008 /opt/freeware/bin/unix2dos
    > /opt/freeware/bin/unix2dos -h
    unix2dos 2.2 Copyright (c) 1994-1995 Benjamin Lin. (1995.03.31)
    Usage: unix2dos -hkqV http://-o file ... -c convmode http://-n infile outfile ...
    -h --help give this help
    -k --keepdate keep output file date
    -q --quiet quiet mode, suppress all warnings
    always on in stdin->stdout mode
    -V --version display version number
    -c --convmode conversion mode
    convmode ASCII, 7bit, ISO, default to ASCII
    -o --oldfile write to old file
    file ... files to convert in old file mode
    -n --newfile write to new file
    infile original file in new file mode
    outfile output file in new file mode
    >
    #AIX-Forum


  • 5.  Re: AIX unix2dos

    Posted 07/20/10 04:47 AM

    Originally posted by: hdkutz


    Hello,
    i use this in a small script named unix2dos:
    <snip>
    #!/usr/bin/perl -pi
    s/\n/\r\n/;
    <snip>
    Syntax:
    unix2dos <FILE_TO_CONVERT>

    Cheers,
    ku
    #AIX-Forum