...Well, ... since you started "splitting Unix hairs", here ;-), I don't think the unix2dos command would attempt to overwrite the file without a redirection symbol between the two filenames, but yes, technically my statement is incorrect. Frankly, I was "writing quickly"...
Sounds like your terminal settings are being gobbled up. Does it print anything when you strike the "|" key?
It may depend on how you are getting to your Unix OS... If you are using something like Reflections X (from a PC), then the package you are using be be gobbling up the pipe...
You should check man csh on your system to be certain of the sequence of "." files fired when your shell starts.
From memory, for c-shell it's a system .login-type stored in the /etc (maybe /etc/cshrc). The different Unixes may vary in the sequence, but I think it's supposed to be...
1. Cron executions occur (usually) with a very minimal environment, so unless you provide things like environment variables, paths, etc., in the cron invocation, ... you don't get it.
For example, here a (long) crontab we use to provide an environment with a common user profile (sorry! it's...
Not sure if perhaps you wanted
unix2dos file1 > file2
From your explaination, the other thing I see is that your tr script deletes the final CR from your file1 and then when you cat them together, they appear on the same line already (before you convert them to dos).
Try man on your...
The OS operates principly on the numeric values supplied as user id numbers on login. Basically, real and effective user ids permit can one user to "masquerade" as another.
From Bach's "Design of the Unix Operating System",
"The real user id identifies the user who is...
We seek to interactively change components of the PATH environment variable in Windows NT 4.0 (without having to logout and login), effectively employing as if using the System Properties control panel and applying the change.
We know we can perform PATH alterations using the registry API...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.