Sponsored Content
Top Forums UNIX for Advanced & Expert Users How to modify BASEDIR with request script? Post 302234549 by kingpmp on Tuesday 9th of September 2008 10:43:08 PM
Old 09-09-2008
Noop....basically that's how UNIX works, you never know what's going on behind the scene.

BASEDIR is a default environment variable. It represents where the root install path, based on Sun document and my understanding.
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Modify Perl script to work with txt - Permissions script

Hi I have this code, and i want work with a ls -shalR output in .txt What i need read to do this?? Where start? #!/usr/bin/perl # Allrights- A perl tool for making backups of file permissions # Copyright (C) 2005 Norbert Klein <norbert@acodedb.com> # This program is free... (1 Reply)
Discussion started by: joangopan
1 Replies

2. Shell Programming and Scripting

Request to modify script to list multiple parameters for V_fieldid variable

I am posting a script below which essentially excutes the following functions in the described order. 1) From a source directory pools together three files generated by system logs for each user session, tar's these files and archives them as a log set in a destination directory and these... (0 Replies)
Discussion started by: Sammy
0 Replies

3. UNIX for Advanced & Expert Users

Using a request script

I am creating a package(Solaris10 on sparc) that needs user input. As I understand it, I need to use a request script. My problem is that the value I set in my request script is not visible in my postinstall script. Not sure if I am doing it right. Here is an example request script... (4 Replies)
Discussion started by: Tornado
4 Replies

4. Shell Programming and Scripting

Please help to modify my script

Hi, I have a script which connect to ATM's and pull two files from the ATM. The which i try to pull is like PIC20085200001*.JPG First 7 digit consist of year montn and date as well After todays execution i want to change the date to next date I add few lines in the script but it is not... (6 Replies)
Discussion started by: Renjesh
6 Replies

5. Shell Programming and Scripting

lowercase basedir? get filename

Is there an equivalent of basedir in shell script? I have a file location and I want to lowercase just the filename not the path. (2 Replies)
Discussion started by: mainegate
2 Replies

6. Shell Programming and Scripting

Solaris request script

Hi, In the request script I need to read user input and store to variable to use it later in postinstall script. e.g. LOGDIR=/app/log echo "Please type the Log Directory : (current value: $LOGDIR)" read LOGDIR When asked, if the user enters a value the parameter is ok and I... (2 Replies)
Discussion started by: potro
2 Replies

7. Shell Programming and Scripting

how can I modify this script.

hello forum members, I have a script which is used find the Uname and passwords and redirects into a output.txt file.I hardcoded a string "ciadev" but iwant search two more strings also "absdev" and "absprod" So modify this script please. I am lookinmg forward from you, please find the below... (2 Replies)
Discussion started by: rajkumar_g
2 Replies

8. Shell Programming and Scripting

Extract root basedir name from a *.tar.gz file

I am working on a script to install a software distribution which ships as a *.tar.gz file. The company doesn't name the dist consistently, but the resulting directory out of the *.tar.gz file (ie: XXX_X_X_X) is consistent and shows the software version. I'm writing this with BASH-3.25.x... (4 Replies)
Discussion started by: forrie
4 Replies

9. Shell Programming and Scripting

Request per second script

Hello; I'm having about 800 log files and i'm trying to write a script that report the counts of lines per second or "requests per second" in each log file and report the output which includes the timestamp for the highest lines per second count and the log file name and the highest number per... (5 Replies)
Discussion started by: Katkota
5 Replies
scrollkeeper(1) 						   User Commands						   scrollkeeper(1)

NAME
scrollkeeper, scrollkeeper.conf, scrollkeeper-get-cl, scrollkeeper-get-content-list, scrollkeeper-get-extended-content-list, scrollkeeper- get-index-from-docpath, scrollkeeper-get-toc-from-docpath, scrollkeeper-get-toc-from-id, scrollkeeper-install, scrollkeeper-rebuilddb, scrollkeeper-uninstall, scrollkeeper-update - manage document metadata SYNOPSIS
scrollkeeper-get-cl [-v] locale file scrollkeeper-get-content-list locale scrollkeeper-get-extended-content-list locale scrollkeeper-get-toc-from-docpath file scrollkeeper-get-toc-from-id series-id scrollkeeper-install [-p path] [-q] [-v] [-n] omf-file scrollkeeper-rebuilddb [-p path] [-q] [-v] [-o path] scrollkeeper-uninstall [-p path] [-q] [-v] omf-file scrollkeeper-update [-p path] [-q] [-v] [-n] [-o path] DESCRIPTION
scrollkeeper manages document metadata and keeps track of various document attributes such as language, format, subject, classification, copyright, and so on. scrollkeeper supports OMF (Open Metadata Format), which is a simple 16-element XML file format. OMF is a subset of the Dublin Core metadata specification developed by the Dublin Core Metadata Initiative. Currently, scrollkeeper can extract table of con- tents and index information only from DocBook documents. EXTENDED DESCRIPTION
The following commands are supported: scrollkeeper-get-cl Exports the scrollkeeper contents list for the specified locale and the specified contents file into a temporary file, and displays the name of the temporary file. scrollkeeper-get-content-list Exports the scrollkeeper contents list for the specified locale into a temporary file, and displays the name of the temporary file. scrollkeeper-get-extended-content-list Exports the scrollkeeper extended contents list for the specified locale into a temporary file, and displays the name of the temporary file. The extended contents list contains both the document tree and the table of contents for each document. scrollkeeper-get-toc-from-docpath Displays the path to the file containing the table of contents of a document registered in the OMF database. Otherwise, displays a mes- sage to indicate that the requested document is not installed. scrollkeeper-get-toc-from-id Displays the path to the file containing the table of contents of the document with the specified scrollkeeper series ID. scrollkeeper-install Registers a document in the scrollkeeper database. scrollkeeper-rebuilddb Removes the existing scrollkeeper database and creates a new database by registering the documents described by the OMF files found in the OMF search path. This command is useful if the scrollkeeper database becomes corrupted. For more information about the scroll- keeper-rebuilddb command, see the Examples section. scrollkeeper-uninstall Removes a document from the scrollkeeper database and removes any related files from the scrollkeeper database and contents lists. The document and the OMF file are not removed or modified. scrollkeeper-update Rescans the list of directories in the OMF search path for new and removed documents, and updates the scrollkeeper database accord- ingly. Unless a search path is specified with the -o option, all directories in the default OMF search path are rescanned. OPTIONS
The following options are supported: -n Use the network to retrieve the DTD if it is not available via the system's XML catalog. -o path Specifies the search path for OMF files. -p path Specifies the location of the scrollkeeper database. -q Suppresses warnings and error messages. -v Displays all warnings and error messages, in addition to logging these messages in the /var/log/scrollkeeper.log file. OPERANDS
The following operands are supported: file Specifies the location of the contents file. locale Specifies the locale. omf-file Specifies the location of the OMF file. series-id Specifies the scrollkeeper series ID. EXAMPLES
Example 1: Removing a Document From the scrollkeeper Database example% scrollkeeper-uninstall /usr/share/omf/example/filename.omf Example 2: Getting the scrollkeeper Extended Contents List for the C Locale example% scrollkeeper-get-extended-content-list C Example 3: Setting Up the scrollkeeper Database for a Diskless Client Clone Area example% scrollkeeper-rebuilddb -p /export/root/clone/Solaris_9/sun4u/var/lib/scrollkeeper -o /export/exec/Solaris_9_sparc.all/usr/share/omf If the scrollkeeper database must be installed in a location other than the standard location, use the -p path option to specify the loca- tion of the scrollkeeper database, where path is an empty directory. The scrollkeeper-rebuilddb command will not proceed if you specify a populated path for this option. If the OMF files must be read from a location other than the standard location, use the -o path option to specify the location of the OMF files. Specify the complete pathname, for example, /usr/share/omf. If you specify a partial pathname, for example, /usr/share, the scroll- keeper-rebuilddb command will take a long time, produce many warnings, and may crash. ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables that affect the execution of scrollkeeper: NLSPATH. OMF_PATH Provides scrollkeeper with an alternative list of directories in which to search for OMF files. This variable over- rides the default search path. If the list contains multiple directories, the entries should be separated by colons. EXIT STATUS
The following exit values are returned: 0 Application exited successfully >0 Application exited with failure FILES
The following files are used by this application: /var/lib/scrollkeeper The location of the default scrollkeeper database. /var/log/scrollkeeper.log A log file containing log entries for database updates and error or warning messages. /usr/share/scrollkeeper The directory containing the scrollkeeper templates and xslt files. /etc/scrollkeeper.conf The default search path for omf files. /usr/bin/scrollkeeper-config The command-line executable for the scrollkeeper-config application. /usr/bin/scrollkeeper-get-cl The command-line executable for the scrollkeeper-get-cl application. /usr/bin/scrollkeeper-get-content-list The command-line executable for the scrollkeeper-get-content-list application. /usr/bin/scrollkeeper-get-extended-content-list The command-line executable for the scrollkeeper-get-extended-content-list application. /usr/bin/scrollkeeper-get-index-from-docpath The command-line executable for the scrollkeeper-get-index-from-docpath application. /usr/bin/scrollkeeper-get-toc-from-docpath The command-line executable for the scrollkeeper-get-toc-from-docpath application. /usr/bin/scrollkeeper-get-toc-from-id The command-line executable for the scrollkeeper-get-toc-from-id application. /usr/bin/scrollkeeper-install The command-line executable for the scrollkeeper-install application. /usr/bin/scrollkeeper-rebuilddb The command-line executable for the scrollkeeper-rebuilddb application. /usr/bin/scrollkeeper-uninstall The command-line executable for the scrollkeeper-uninstall application. /usr/bin/scrollkeeper-update The command-line executable for the scrollkeeper-update application. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWgnome-libs | +-----------------------------+-----------------------------+ |Interface stability |Obsolete | +-----------------------------+-----------------------------+ SEE ALSO
scrollkeeper-config(1), scrollkeeper-devel(1) NOTES
Written by Sander Vesik, Sun Microsystems Inc., 2003. Updated by Matt Keenan, Sun Microsystems Inc., 2006. Updated by Ghee Teo, Sun Microsystems Inc., 2007. SunOS 5.11 12 Sep 2006 scrollkeeper(1)
All times are GMT -4. The time now is 07:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy