What is the purpose of using Unix in todays scenario when we have Linux? AFAIK UNIX is great in SMP (100s of processors if I'm not wrong) but Linux lags behind by a long way (8-10 processors AFAIK). Is this the only reason or there r many more?
_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
On Mar 4, 2002 at 07:12, Nikhil Joshi wrote:
What is the purpose of using Unix in todays scenario when we have Linux?
Unix is, I think, more stable and better understood. Look at it this way (that's a phrase I picked up from Mathemagic on Doordarshan). If you've been running a data center for the last 20 years on Digital Unix, do you really want to switch it to this new Linux thing with patches every week?
Besides, all OS suck. Some less than others.
On Mon, 4 Mar 2002, Nikhil Joshi wrote:
AFAIK UNIX is great in SMP (100s of processors if I'm not wrong) but Linux lags behind by a long way (8-10 processors AFAIK).
Shell (the oil company) runs linux on a 1024 processor system. IBM did the scaling for them. They need that kind of processing power to scan the sea bed for new sources of oil.
Unix is still used because of two reasons. 1. Legacy apps that haven't been ported 2. Tech support - most companies are still afraid of linux because they don't know where they will get tech support from.
From: "Philip S Tellis" philip.tellis@iname.com Sent: Monday, March 04, 2002 10:28 AM
Unix is still used because of two reasons.
- Legacy apps that haven't been ported
What are legacy apps? Can you elaborate please.
_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Has any one developed a Cyberoam Client(Connecting to Internet thro Cable for Linux) for Linux Has any one started developing the same in java do let me know the same
---------------------------------
--------------------------------- Download exciting Logos, Picture Messages & Ringtones for your mobile phone
On Mon, 4 Mar 2002, Nikhil Joshi wrote:
Unix is still used because of two reasons.
- Legacy apps that haven't been ported
What are legacy apps? Can you elaborate please.
`legacy apps' is the polite way of saying those apps that were written for archaic systems and don't work on new ones. MS guys used to use it to refer to unix apps - we'll port your legacy unix apps to NT. nowadays, some of the smarter linux advocates have turned the tables - using wine, we can run your legacy windows apps on linux. no porting is required.
+++ Nikhil Joshi [04/03/02 20:38 +0530]:
From: "Philip S Tellis" philip.tellis@iname.com Sent: Monday, March 04, 2002 10:28 AM
Unix is still used because of two reasons.
- Legacy apps that haven't been ported
What are legacy apps? Can you elaborate please.
Older application binaries compiled specifically for a specific OS. Also see: MS Office on a Linux box ;).
Devdas Bhagat
Hi,
How do i convert DOS files to Unix files after porting from the Windows partition. I usually have to port my C code from Windows partition to Linux. Vi works fine, showing a [dos] in the end. But then when i use some programs like "indent" all new lines are replaced by ^M which i can neither find in vi using / nor use the grep command.
BTW, which one has both CR and LF and which one has only CR as new line charachters?
Converting back is simple by opening it in Wordpad and saving again.
Any links to scripts/or hints on scripts wud be gr8.
thanx ..
-- Goldwyn :o)
On Sat, Mar 02, 2002 at 06:38:45AM +0530, Goldwyn Rodrigues wrote:
"indent" all new lines are replaced by ^M which i can neither find in vi using / nor use the grep command.
You can find ^M kind of control character by pressing "Cntl+v Cntl+m". This was ^M similarly other control character by pressing Cntl+v before them.
Any links to scripts/or hints on scripts wud be gr8.
Try some search and replace using above mechanism. And write a one line script.
regards
On Sat, 2 Mar 2002, Goldwyn Rodrigues wrote:
How do i convert DOS files to Unix files after porting from the Windows partition.
dos2unix works well. if you don't have it, these methods are useful:
1. open the file in pico. do Ctrl+O. close the file 2. cat file | sed -e 's/^M//g' > newfile 3. perl -pi -e 's/\r//g' list of files
to put that ^M there, type Ctrl+V Ctrl+M
After opening the file in vi, try this. :%s/\r//g
It replaces all the \r with nothing, thus effectively removing the ^M chars.
Windows uses CRLF for the new line character while linux uses just LF.
cheers
On Saturday 02 March 2002 06:38, you wrote:
Hi,
How do i convert DOS files to Unix files after porting from the Windows partition. I usually have to port my C code from Windows partition to Linux. Vi works fine, showing a [dos] in the end. But then when i use some programs like "indent" all new lines are replaced by ^M which i can neither find in vi using / nor use the grep command.
BTW, which one has both CR and LF and which one has only CR as new line charachters?
Converting back is simple by opening it in Wordpad and saving again.
Any links to scripts/or hints on scripts wud be gr8.
thanx ..
--- Goldwyn Rodrigues goldwyn_r@softhome.net wrote: > Hi,
BTW, which one has both CR and LF and which one has only CR as new line charachters?
UNIX: LF WINDOWS: CR LF MAC: CR
Converting back is simple by opening it in Wordpad and saving again.
Oh don't take the trouble.
Any links to scripts/or hints on scripts wud be gr8.
<disclaimer/>
perl -i.BAK -wpe's/\r//g' <file>
Type that on the command line. <file>, give a filename (one or more).
Manish
________________________________________________________________________ Looking for a job? Visit Yahoo! India Careers Visit http://in.careers.yahoo.com
On Tue, 5 Mar 2002, Manish Jethani wrote:
perl -i.BAK -wpe's/\r//g' <file>
the -w isn't really required here (although it is a good practice), for the simple reason that any error would be fatal, or undetectable.