Sponsored Content
Top Forums Shell Programming and Scripting how can make if [ $f1 -nt $f2 ] works in solaries Post 302186395 by Shivdatta on Thursday 17th of April 2008 05:55:09 AM
Old 04-17-2008
check man test....

use -ne....

what are you trying to achieve...If you are trying to compare two files...
this wont help
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

FTP from Solaries to somewhere in Network Drive

Hello to Unix Guru I need to move a ASCII file that is created from oracle into Unix box. I need to move this particular file to somewhere on network drive which is physically hosted on different machine. Can any one suggest what would be best approach to move the file? Any shell script... (1 Reply)
Discussion started by: u263066
1 Replies

2. Solaris

upgrading from solaries 9 to 10

Hi, I am running soalries 9 on sparc machine and would like to upgrade it to solaries 10, I have downloaded and burned the ISO file on the CD. How do I upgrade it now? Is there any guide or anything available? Thanks in advance. (1 Reply)
Discussion started by: mokkan
1 Replies

3. Solaris

solaries on intel ?

Hi, Can we install solaries in regular intel pc? Or we should use sun machine? Please let me know. (3 Replies)
Discussion started by: mokkan
3 Replies

4. Solaris

my sound card doesn't work under solaries 10

i'm new with solaries and i have laptop hp pavilion ze4938ea and the sound doesn't work with it what can i do ? (1 Reply)
Discussion started by: ramy_feteha
1 Replies

5. Shell Programming and Scripting

how to make ksh to work on solaries

i have a script i which i am using #!/bin/ksh todate=$(date +%m%d%y) dir="$dir/port${todate}" the above one works in linux ...ut not working in solaries could some one please help me in that (13 Replies)
Discussion started by: mail2sant
13 Replies

6. Solaris

C++ Core dump in Solaries

Hello All, I need to basically capture any core dump of C++ binary which is running in a perl script on SUN Solaris OS. I dont kno much in C++. Can you please suggest me a C++ binary that core dumps when i run which i can use to capture in my Perl script. Thanks, Sateesh (3 Replies)
Discussion started by: kotasateesh
3 Replies

7. Solaris

Re:Enabling ftp,ssh in solaries 8

Hi all , can any one tell me how to enable ftp/ssh services in solarie 8 machine. if this services cannot be enabled on solarie 8 machine can you kindly suggest any other alternative. Thanks venky (1 Reply)
Discussion started by: venky_vemuri
1 Replies

8. Solaris

Location of bash_profile in solaries zone??

Hi All I am very new to solaris and i want to know what is the purpose of bash_profile file Where this file is located? Actually I want to set EDITOR variable to the file so can pls tell me hw can i do it........ one more thing what is bashrc used for is there any relation b/w bashrc and... (2 Replies)
Discussion started by: vijaysachin
2 Replies

9. UNIX for Dummies Questions & Answers

Remote Unix printing to my WinXP works with no router. How can I make it work through my router?

I set up remote printing on a clients Unix server to my Windows XP USB printer. My USB printer is connected directly to my PC (no print server and no network input on printer). With my Win XP PC connected to my cable modem (without the router), i can do lp -dhp842c /etc/hosts and it prints. I... (7 Replies)
Discussion started by: jmhohne
7 Replies

10. Solaris

Memory allocation failure for pkgadd in solaries.

On installing a package in one of the solaries VM, i am getting the below error, pkgadd: ERROR: memory allocation failure, errno=0 Installation of <CSCObac> failed. We also collect some stat in the troubleshooting process but could not figure out why. SNTDCAUJD04FD2# df -h Filesystem size... (1 Reply)
Discussion started by: Kiran Reddy D
1 Replies
Alien::Package::Slp(3pm)				User Contributed Perl Documentation				  Alien::Package::Slp(3pm)

NAME
Alien::Package::Slp - an object that represents a slp package DESCRIPTION
This is an object class that represents a slp package. It is derived from Alien::Package. CLASS DATA
The following data is global to the class, and is used to describe the slp package format, which this class processes directly. footer_size Complete sizeof(slpformat) from slp.h in the stampede package manager source. footer_packstring This is the pack format string for the footer. (A=space terminated character, I=unsigned integer.) footer_version What package format are we up to now? (Lowest one this is still compatable with.) archtrans This is a translation table between architectures and the number that represents them in a slp package. fieldlist This is a list of all the fields in the order they appear in the footer. FIELDS
compresstype Holds the compression type used in the slp file. slpkgversion Holds the slp package format version of the slp file. METHODS
checkfile Detect slp files by their extention. install Install a slp. Pass in the filename of the slp to install. getfooter Pulls the footer out of the slp file and returns it. scan Implement the scan method to read a slp file. unpack Unpack a slp file. They can be compressed in various ways, depending on what is in the compresstype field. build Build a slp. conffiles Set/get conffiles. When the conffiles are set, the format used by slp (a colon-delimited list) is turned into the real list that is used internally. The list is changed back into slp's internal format when it is retreived. copyright Set/get copyright. When the copyright is set, the number used by slp is changed into a textual description. This is changed back into a number when the value is retreived. arch Set/get arch. When the arch is set, the number used by slp is changed into a textual description. This is changed back into a number when the value is retreived. release Set/get release version. When the release version is retreived, it is converted to an unsigned integer, as is required by the slp package format. AUTHOR
Joey Hess <joey@kitenet.net> perl v5.14.2 2011-07-07 Alien::Package::Slp(3pm)
All times are GMT -4. The time now is 08:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy