10-20-2019
That looks like a severe bug in tcsh.
Downgrade It!
(I wonder why they still do changes to that dead horse.)
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi Expert,
I have encountered some problem with my SUN system. Everytime when i issue command #init 6 OR #init 0 it just logout and prompt for login again instead of rebooting the server when run init 6 and system shutdown when run init 0..
I can only reboot the system using reboot ... Was... (6 Replies)
Discussion started by: sc2005
6 Replies
2. Solaris
I change my default shell to zsh but can't find the init files, .zshrc and .zlogin from /export/home and /home. The other shells init files are there:.cshrc, .profile and .login. Am I suppose to use these as templates?
Also, bash_history is there but not zsh_history although zsh do keep a... (2 Replies)
Discussion started by: maag
2 Replies
3. Shell Programming and Scripting
I have a driectoty called TEMP on server 1.There is a process running on another server which is pushing files in this directory of server 1.
I want to write a script which will move the files from TEMP directory to TEMP2 directory on server 1 only but make sure that it will only copy those files... (2 Replies)
Discussion started by: 33junaid
2 Replies
4. Programming
OIOIC is a completely new object-oriented mechanism for the C programming language.
Please download the "OIOIC-Primer-2nd-Edition-English.tar.gz". (the English version of << OIOIC Primer >> )
http://code.google.com/p/oioic/downloads/list
Welcome your advice!
Using OIOIC, you can describe... (7 Replies)
Discussion started by: pervise.zhao
7 Replies
5. Linux
Dear all,
I typed in init 1 on my redhat box as root and according to wikipedia (http://en.wikipedia.org/wiki/Runlevel):
1 Single-User Mode Does not configure network interfaces, start daemons, or allow non-root logins
So now I can't connect back to it. How do I change the init back to 3?... (8 Replies)
Discussion started by: z1dane
8 Replies
6. Shell Programming and Scripting
i have atcl script and i want to source a csh script to reflect changes done by script ........
Please help....... (0 Replies)
Discussion started by: paragarora47
0 Replies
7. UNIX for Advanced & Expert Users
Hi,
I am experiencing a weird thing on my SUNFIRE machine with Solaris 9 OS.
When I do init 0 to shutdown the machine to go to ok prompt, what it did was shutdown and reboot like an init 6 command do. I did check the corresponding rc scripts that were involved with init 0 and compared with rc... (2 Replies)
Discussion started by: Yenthanh
2 Replies
8. Red Hat
I encountered a problem on one of our database servers.
OS: CentOS 5.5 final
Kernel: 2.6.18-238.5.1.el5.028stab085.2 (OpenVZ kernel)
We wrote some DB-Start/Stop-scripts ("/db2/admin/scripts_dba/start_services.ksh" and ".../stop_services.ksh") to start the database instances. (Database... (1 Reply)
Discussion started by: bakunin
1 Replies
9. UNIX for Beginners Questions & Answers
I tried to source the csh file into the bin/sh(input file is srcinput.sh ).
Its(csh -f ...csh) not working.
I tried to source like csh -f D:/sample/expand/env.csh
env.csh sets the environment and it source another .csh file using
source fname.csh.
fname.csh it sets one... (2 Replies)
Discussion started by: SA_Palani
2 Replies
LEARN ABOUT DEBIAN
netsds::util::struct
NetSDS::Util::Struct(3pm) User Contributed Perl Documentation NetSDS::Util::Struct(3pm)
NAME
NetSDS::Util::Struct - data structure convertors
SYNOPSIS
use NetSDS::Util::Struct;
...
my $str = dump_to_row($some_structure);
DESCRIPTION
NetSDS::Util::Struct module contains different utilities for data structures processing.
EXPORTED METHODS
dump_to_string(...)
Returns cleaned dump to scalar.
dump_to_row(...)
Returns cleaned dump to scalar.
to_array($data)
arrays_to_hash($keys_ref, $values_ref) - translate arrays to hash
Parameters: references to keys array and values array
Return: hash
If @$keys_ref is longer than @$values_ref - rest of keys filled with "undef" values.
If @$keys_ref is shorter than @$values_ref - rest of values are discarded.
If any of parameters isn't array reference then "undef" will return.
Example:
my %h = array2hash(['fruit','animal'], ['apple','horse']);
Result should be a hash:
(
fruit => 'apple',
animal => 'horse'
)
merge_hash($target, $source) - merge two hashes
Parameters: references to target and source hashes.
This method adds source hash to target one and return value as a result.
EXAMPLES
None
BUGS
Unknown yet
TODO
None
SEE ALSO
None
AUTHORS
Valentyn Solomko <pere@pere.org.ua>
perl v5.12.4 2011-08-27 NetSDS::Util::Struct(3pm)