Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Re: system commands exit 1

Thread Tools

Re: system commands exit 1

Charlton Wilbur
Posts: n/a
>>>>> "RA" == R Allen <(E-Mail Removed)> writes:

RA> I have noticed that my file perms on this host are strange. For
RA> instance, I can open, write, and save the file, but I cannot
RA> redirect into it (echo "hello perl" > file fails).

Two points --

1. the ability to create or delete a file in a directory is a permission
of the directory, not of the file. See perlfaq5, "Why does Perl let me
delete read-only files?"

2. many shells have a setting that prevents you from accidentally
overwriting a file. In C shell, it's called noclobber. If foo exists,
and this setting is on, echo "text" > foo will fail. This is not a
function of file permissions, but of the shell settings.


Charlton Wilbur Removed)
Reply With Quote
Uri Guttman
Posts: n/a
>>>>> "BM" == Ben Morrow <(E-Mail Removed)> writes:

>> and Perl has been frozen
>> there at 5.8.7 due to EBCDIC-Unicode issues.

BM> Due to IBM not giving a damn.

not that i care about big iron these days (was weaned on them), but p5p
was talking about dropping perl support for ebcdic/z-os but recent
emails seem to show someone willing to help out. can't predict the
outcome or any continuing work.


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: system commands exit 1 Dr.Ruud Perl Misc 0 02-21-2013 07:18 PM
Re: system commands exit 1 [corrected] Uri Guttman Perl Misc 1 02-21-2013 08:38 AM
Exit code of a batch (using exit /B) Joe Smith Java 4 11-08-2006 12:25 PM
Code to Exit Web App and Exit Internet Explorer =?Utf-8?B?U2FuZHk=?= ASP .Net 7 08-05-2005 01:55 AM
exit after process exit Python 2 05-31-2005 08:11 PM