Sponsored Content
Top Forums UNIX for Advanced & Expert Users Sort command results are different in Redhat 4 vs Redhat 5 Post 302794635 by Don Cragun on Tuesday 16th of April 2013 11:32:18 AM
Old 04-16-2013
Are you using the same locale on both systems when running sort?
If you run the command:
Code:
locale|grep LC_COLLATE

what is the output on both systems?
 

10 More Discussions You Might Find Interesting

1. Linux

redhat

hello people i just installed redhat, everything seemes to be fine, but when i start it, it boots up normally and starts firstboot or whatever, then it opens something, i can move the mouse for a while(thats all i see.. first the X then an arrow..) but then the whole computer freezes.. i think the... (3 Replies)
Discussion started by: thenewestuser
3 Replies

2. UNIX for Advanced & Expert Users

MYSQL command to take a backup of the database in Redhat linux 7.2

I am new to mysql database , we have a mysql database running on linux , and we use mysql database for bugzilla, so we wanted to take a backup . what is the command for taking the entire database backup from the command prompt with all options. Thanks in advance Bache Gowda (4 Replies)
Discussion started by: bache_gowda
4 Replies

3. SuSE

redhat

i just bought a redhat 9.0 book which comes with the operating system and Ive install it as a server however Im having difficulties installing Swat and I just wonder if I have to spend buy an enterprise server or what ? (1 Reply)
Discussion started by: keliy1
1 Replies

4. Red Hat

redhat

if sombody can help it will be very good.I want to have some information concerning redhat 9.How to go in the internet with :confused: ,how to programmate in c or c++,and finally how i can use it esaly.Sorry for my english i'm a french speaker ;) (1 Reply)
Discussion started by: boyep
1 Replies

5. UNIX for Dummies Questions & Answers

Redhat linux command to check Version

Hi All, I need to know RedHat linux version installed on a different servers. I know uname -a or /proc/version Is any other command to know the Linux version???? When we telnet to any of the Linux server, the version shows very clearly like Red Hat Enterprise Linux ES release 3 (Taroon... (1 Reply)
Discussion started by: bache_gowda
1 Replies

6. UNIX for Advanced & Expert Users

RedHat, Solaris - what is uname command ??

Hi ! All I'm big fan of Unix/Linux . I want understand the basics of linux/unix version and How they are related to Vendor ... releases. uname -a will give the OS details. But can somebody provide me a pointer , to understand the very BASICS of these terminology like Million Thanks.!!! (2 Replies)
Discussion started by: dashok.83
2 Replies

7. Red Hat

lshal command is not working in RedHat

lshal command is not working in RadHat Linux 9. Whether it is not supported in RedHat or is any other equivalent command for lshal ? (7 Replies)
Discussion started by: forumguest
7 Replies

8. UNIX for Dummies Questions & Answers

LINUX SORT command chops results

I am trying to sort a file . The file looks like this: DDFF 2 /ztpfrepos/pgr/load DDFQ 2 /ztpfrepos/pgr/load DDFX 2 /ztpfrepos/pgr/load DDUA 2 /ztpfrepos/pgr/load My command: sort -k1 /home/c153507/Bin/OPL1.txt -o /home/c153507/Bin/OPL1.txt The results are OK except for one line where... (4 Replies)
Discussion started by: Yahalom
4 Replies

9. Red Hat

What is command to setup sofware in redhat over internet

Hi all, I setup redhat in VMware and I connected to internet, so I want setup sofware for redhat over internet what is command I used ? Are you understand my question, my ability of english is not good, such as I want setup dhcp packet I must used a command ? (yum... or...apt-get...or rpm... ?... (4 Replies)
Discussion started by: ilinux9
4 Replies

10. Shell Programming and Scripting

Increase command length for ksh shell on Redhat Linux

I have a ksh shell script and i need to pass arguments which are generated by data pulled from a database. When the argument to the shell script is too long (about 4000 charecters) the below is the issue observed. I copy the command which is 4000 charecters long from the logs and paste it... (7 Replies)
Discussion started by: mohtashims
7 Replies
dos2unix(1)						      General Commands Manual						       dos2unix(1)

NAME
dos2unix - DOS/MAC to UNIX text file format converter SYNOPSYS
dos2unix [options] [-c convmode] [-o file ...] [-n infile outfile ...] Options: [-hkqV] [--help] [--keepdate] [--quiet] [--version] DESCRIPTION
This manual page documents dos2unix, the program that converts plain text files in DOS/MAC format to UNIX format. OPTIONS
The following options are available: -h --help Print online help. -k --keepdate Keep the date stamp of output file same as input file. -q --quiet Quiet mode. Suppress all warning and messages. -V --version Prints version information. -c --convmode convmode Sets conversion mode. Simulates dos2unix under SunOS. -o --oldfile file ... Old file mode. Convert the file and write output to it. The program default to run in this mode. Wildcard names may be used. -n --newfile infile outfile ... New file mode. Convert the infile and write output to outfile. File names must be given in pairs and wildcard names should NOT be used or you WILL lost your files. EXAMPLES
Get input from stdin and write output to stdout. dos2unix Convert and replace a.txt. Convert and replace b.txt. dos2unix a.txt b.txt dos2unix -o a.txt b.txt Convert and replace a.txt in ASCII conversion mode. Convert and replace b.txt in ISO conversion mode. Convert c.txt from Mac to Unix ascii format. dos2unix a.txt -c iso b.txt dos2unix -c ascii a.txt -c iso b.txt dos2unix -c mac a.txt b.txt Convert and replace a.txt while keeping original date stamp. dos2unix -k a.txt dos2unix -k -o a.txt Convert a.txt and write to e.txt. dos2unix -n a.txt e.txt Convert a.txt and write to e.txt, keep date stamp of e.txt same as a.txt. dos2unix -k -n a.txt e.txt Convert and replace a.txt. Convert b.txt and write to e.txt. dos2unix a.txt -n b.txt e.txt dos2unix -o a.txt -n b.txt e.txt Convert c.txt and write to e.txt. Convert and replace a.txt. Convert and replace b.txt. Convert d.txt and write to f.txt. dos2unix -n c.txt e.txt -o a.txt b.txt -n d.txt f.txt DIAGNOSTICS
BUGS
The program does not work properly under MSDOS in stdio processing mode. If you know why is that so, please tell me. AUTHORS
Benjamin Lin - <blin@socs.uts.edu.au> Bernd Johannes Wuebben (mac2unix mode) <wuebben@kde.org> MISCELLANY
Tested environment: Linux 1.2.0 with GNU C 2.5.8 SunOS 4.1.3 with GNU C 2.6.3 MS-DOS 6.20 with Borland C++ 4.02 Suggestions and bug reports are welcome. SEE ALSO
unix2dos(1) mac2unix(1) 1995.03.31 dos2unix v3.0 dos2unix(1)
All times are GMT -4. The time now is 10:26 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy