Sponsored Content
Full Discussion: Solaris config files syntax
Operating Systems Solaris Solaris config files syntax Post 302539295 by fpmurphy on Saturday 16th of July 2011 09:29:18 AM
Old 07-16-2011
I have seen that convention used in a number of places but mostly on Linux systems. One place where I came across that convention recently was the preseed file for syslinux.

Can you point us at any Solaris configuration files that appear to use that convention?
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Losing IP config on reboot of Solaris 8

After a reboot my ifconfig -a has nothing but 0.0.0.0 have to reinput my IP and default route, what makes the info save? (1 Reply)
Discussion started by: jo calamine
1 Replies

2. Solaris

Printer Config for Solaris 5.9

Hi All, Am Trying to configure a Network Printer (HP Laser Jet 4250n) Printer Name hari for a Solaris 5.9 server. Output of lpstat: root: lpstat -t scheduler is running no system default destination device for hari: /dev/null hari accepting requests since Mon Jul 28 10:38:51 2008... (0 Replies)
Discussion started by: efunds
0 Replies

3. UNIX for Advanced & Expert Users

Samba config file syntax

I hope I'm posting in the right forum. In the samba config file smb.conf in the global settings area... we currently have a domain in the workgroup section as workgroup = domain_name I want to add another domain name to allow attaching to samba. What is the syntax to add another domain... (1 Reply)
Discussion started by: AWSeeker
1 Replies

4. UNIX for Dummies Questions & Answers

Raid config on Jumpstart (Solaris 10

Hi there, I was wondering if it is possible to include a RAID configuration in my Solaris 10 Jumpstart files, so that I don't have to manually set up RAID on all my machines. Thanks P.S. I started messing around with Solaris only a week back, so if I sound like a complete idiot, you know... (1 Reply)
Discussion started by: iman453
1 Replies

5. Shell Programming and Scripting

parsing config file to create new config files

Hi, I want to use a config file as the base file and parse over the values of country and city parameters in the config file and generate separate config files as explained below. I will be using the config file as mentioned below: (config.txt) country:a,b city:1,2 type:b1... (1 Reply)
Discussion started by: clazzic
1 Replies

6. Solaris

AutoFs Config in Solaris 10

Hi, i'm new to Solaris ,i have this task which need to be completedand i couldn't find a way .The peoblem is i have a Server-A and Server-B i need to automount a folder in Server-b to Server-A for permanently .i've found only auto_master and auto_home(in /etc no auto.misc like linux) and what are... (8 Replies)
Discussion started by: malickhat
8 Replies

7. Shell Programming and Scripting

Shell script that will compare two config files and produce 2 outputs 1)actual config file 2)report

Hi I am new to shell scripting. There is a requirement to write a shell script to meet follwing needs.Prompt reply shall be highly appreciated. script that will compare two config files and produce 2 outputs - actual config file and a report indicating changes made. OS :Susi linux ver 10.3. ... (4 Replies)
Discussion started by: muraliinfy04
4 Replies

8. UNIX for Dummies Questions & Answers

list of important config files in solaris 10

Hi all, I am going to reitre one solaris 10 server soon. What are the important config files to backup in case if i want to check how this system was setup (need list in general) ? Thanks! in advance (1 Reply)
Discussion started by: lramsb4u
1 Replies

9. Shell Programming and Scripting

Update config file using shell script in Solaris 5.10

hi I need to update the value in config.txt value using shell script example: lets say a value in config.txt file is as SEQUENCE=1 after some iteration as the loop ends , the SEQUENCE should get update in the config.txt file with a new value of SEQUENCE=2. also , can anyone please help me... (7 Replies)
Discussion started by: ravidwivedi2288
7 Replies

10. Windows & DOS: Issues & Discussions

(VS 2008) New build config looking files from other folder build config

Hi Team, My new build configuration always looking for the files from the build where i copied from. please help me to resolve this. I am using Visual studio 2008.It has Qt 4.8. plugins,qml,C++ development I created new debug_new build configuration with additional preprocessor from the... (1 Reply)
Discussion started by: SA_Palani
1 Replies
Matrix(3)						User Contributed Perl Documentation						 Matrix(3)

NAME
PDL::Matrix -- a derived matrix class that implements column-major constructors and methods VERSION
This document refers to version PDL::Matrix 0.01 of PDL::Matrix SYNOPSIS
use PDL::Matrix; $m = mpdl [[1,2,3],[4,5,6]]; $m = PDL::Matrix->pdl([[1,2,3],[4,5,6]]); $m = msequence(4,3); @dimsa = $a->mdims; # 'dims' is not overloaded $v = vpdl [0,1,2,3] $v = vzeroes(4); DESCRIPTION
Overview This package tries to help people who want to use PDL for 2D matrix computation with lots of indexing involved . It provides a PDL subclass so one- and two-dimensional piddles that are used as vectors resp. matrices can be typed in using traditional matrix convention. The original pdl class refers to the first index as the first row, the second index as the first column of a matrix. Consider print $B = sequence(3,2) [ [0 1 2] [3 4 5] ] which gives a 2x3 matrix in terms of the matrix convention, but the constructor used (3,2). This might get more confusing when using slices like sequence(3,2)->slice("1:2,(0)") : with traditional matrix convention one would expect [2 4] instead of [1 2]. This subclass PDL::Matrix overloads the constructors and indexing functions of pdls so that they are compatible with the usual matrix con- vention, where the first dimension refers to the row of a matrix. So now, the above example would be written as print $B = PDL::Matrix->sequence(3,2) # or $B = msequence(3,2) [ [0 1] [2 3] [4 5] ] Routines like eigenvalue or matrix inversion can be used without any changes. Furthermore one can construct and use vectors as n x 1 matrices without mentioning the second index '1'. Implementation "PDL::Matrix" works by overloading a number of PDL constructors and methods such that first and second args (corresponding to first and second dims of corresponding matrices) are effectively swapped. It is not yet clear if PDL::Matrix achieves a consistent column major look-and-feel in this way. FUNCTIONS
mpdl, PDL::Matrix::pdl constructs an object of class PDL::Matrix which is a piddle child class, where the first index refers to the first column of the two-dimen- sional piddle. $m = mpdl [[1,2,3],[4,5,6]]; $m = PDL::Matrix->pdl([[1,2,3],[4,5,6]]); mzeroes, mones, msequence constructs a PDL::Matrix object similar to the piddle constructors zeroes, ones, sequence vpdl constructs an object of class PDL::Matrix which is of matrix dimensions (n x 1) print $v = vpdl [0,1]; [ [0] [1] ] vzeroes, vones, vsequence constructs a PDL::Matrix object with matrix dimensions (n x 1), therefore only the first scalar argument is used. print $v = vsequence(2); [ [0] [1] ] PDL::Matrix::slice, PDL::Matrix::dice same as slice, dice for normal piddles, but reflecting the matrix convention by swapping the first two arguments. print sequence(3,2)->slice("1:2,(0)") # piddle [1 2] print msequence(3,2)->slice("1:2,(0)") # PDL::Matrix [2 4] PDL::Matrix::at same as at for piddles, but reflecting the matrix convention by swapping the first two arguments If only one scalar argument is used, we assume the object to be a vector and look only at the first column. PDL::Matrix::set set a particular value in a PDL::Matrix object. Note that this has to be called as an object method rather than a function print msequence(3,3)->set(2,0,-1) # ok with PDL::Matrix convention [ [ 0 1 2] [ 3 4 5] [-1 7 8] ] print set msequence(3,3), 2,0,-1 # does not conform with PDL::Matrix convention [ [ 0 1 -1] [ 3 4 5] [ 6 7 8] ] PDL::Matrix::reshape same as reshape for piddles, but reflecting the matrix convention by swapping the first two arguments mdims returns the dimensions of the PDL::Matrix object in matrix convention "dims" is NOT overloaded by PDL::Matrix to make sure that methods like PDL::transpose still work. So use "mdims" to get the dims in the PDL::Matrix notation. print msequence(3,2)->mdims 3 2 kroneckerproduct returns kroneckerproduct of two matrices. This is not efficiently implemented. det_general returns a generalized determinant of a matrix. If the matrix is not regular, one can specify the rank of the matrix and the corresponding subdeterminant is returned. This is implemented using the "eigens" function. trace returns the trace of a matrix (sum of diagonals) vcrossp, PDL::Matrix::crossp similar to PDL::crossp, however reflecting PDL::Matrix notations BUGS AND PROBLEMS
Because we change the way piddles are constructed, not all pdl operators may be applied to piddle-matrices. The inner product is not rede- fined. We might have missed some functions/methods. Internal consistency of our approach needs yet to be established. TODO
check all PDL functions, benchmarks, optimization, lots of other things ... AUTHOR(S) Stephan Heuel (stephan@heuel.org), Christian Soeller (c.soeller@auckland.ac.nz). COPYRIGHT
All rights reserved. There is no warranty. You are allowed to redistribute this software / documentation under certain conditions. For details, see the file COPYING in the PDL distribution. If this file is separated from the PDL distribution, the copyright notice should be included in the file. perl v5.8.0 2001-12-03 Matrix(3)
All times are GMT -4. The time now is 11:34 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy