10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
For example, if i do ls
I want to have a string like "<br> file1 ....... <br>file2 ..... <br>file3 ....."
i think i ve to use xargs, but i can't find the solution.
Thanks (3 Replies)
Discussion started by: cterra
3 Replies
2. Shell Programming and Scripting
Hi guys,
I am trying to install a software which is a shell script. I am using expect to do the silent installation.
There is a strange line during the installation of the software like this below. The prompt goes to the next line.
ENTER AN ABSOLUTE PATH, OR PRESS <ENTER> TO ACCEPT THE... (0 Replies)
Discussion started by: kapkap
0 Replies
3. Solaris
Hi,
on sunfire v890 unable to move from rsc prompt to ok prompt, i have executed the command break. (9 Replies)
Discussion started by: manoj.solaris
9 Replies
4. Shell Programming and Scripting
I'm attempting to set up a two-line prompt using Korn.
This is what I've set up in .kshrc
PS1='$(print -n "`logname`@`hostname`:";if ] then; print -n "~${PWD#$HOME}"; else; print -n "$PWD";fi;print "\n$ ")'
And in .profile,
ENV="$HOME/.kshrc"; export ENV
The hosts that in use are... (10 Replies)
Discussion started by: capnpepper
10 Replies
5. Shell Programming and Scripting
I have a script built that takes the standard inputs $1 $2 $3 after the name and parses some data.
hexsite=`echo "obase=16;$1"|bc`
hexfix=$(printf "%.3X" 0x$hexsite)
if || ;then
type=33
elif || ;then
type=59
elif ;then
type=99
else type=00
fi
cat /directory/*.2012$3*|
I am... (8 Replies)
Discussion started by: PCGameGuy
8 Replies
6. UNIX Desktop Questions & Answers
Hello guys...
I am having a doubt. Please try to rectify it. I would really appreciate it.
The thing is that is it possible to open any website say for example,google from the command line prompt(terminal) if you are working in Linux-fedora...
I am very new to Unix.
regards,
Mahesh... (2 Replies)
Discussion started by: mraghunandanan
2 Replies
7. Shell Programming and Scripting
Hi Friends,
I am using HP-UNIX(ksh). I want to print a message at specific line on the prompt screen. For Example:
for num in 1 10 3 145
do
echo $num // need to print this on the same line for each number
sleep 2
done
Actual Output:
==========
1
10
3
145
Expected Output:... (5 Replies)
Discussion started by: Niroj
5 Replies
8. Shell Programming and Scripting
Hi
I have some trouble entering if-then condition in a single line on a command prompt in csh.
Could someone show how does one do that ?
eg:
source .cshrc;
cd $dir;
pwd;
test -d $backup_dir;
if
then
mkdir -p ${backup_dir};
echo inside loop;
fi;
echo outside loop;
mv -f... (3 Replies)
Discussion started by: mpc8250
3 Replies
9. AIX
Hlo sir
My system file / system file is full and i am unable to enter any command such as ls or to start my server RS6000 The network is blocked and the users are log off. (0 Replies)
Discussion started by: sobnc
0 Replies
10. UNIX for Dummies Questions & Answers
Can anyone tell me what makes the current path appear in the prompt ?
thx (4 Replies)
Discussion started by: Leitwolf
4 Replies
FRONTEND-SPEC(7) FRONTEND-SPEC(7)
NAME
frontend-spec - interface between jw and its frontends
DESCRIPTION
jw(1) calls frontends like frontends/docbook to get the informations specific to a given input format. The frontend knows which information
to return from the first command line parameter. It gets all necessary data via environment variables ready to use.
This document describes that command line parameter and those environment variables.
The frontend should return 0 if there weren't any problem, and return a positive value otherwise.
VARIABLES
$1
The command line parameter, specifying which information to return. It can take the following values:
centralized-catalog
The frontend must return the DTD-specific centralized catalog name. Centralized catalogs normally reside in /etc/sgml and
provide the location of all the catalog files useful for handling this input type (the catalog for the DTD, the catalog for
the stylesheets, the catalog for the entities, ...)
style-sheet
The frontend must return the filename of the style sheet to be used for this document type and with the chosen backend.
SGML_CATALOGS_DIR
The directory where the centralized catalogs reside. It is normally /etc/sgml.
(This variable is valid only while determining the centralized catalog to use.)
SGML_BASE_DIR
The base directory of the SGML system. It is normally /usr/share/sgml.
(This variable is valid only while determining the style sheet to use.)
SGML_FILE
The name of the file to convert.
(This variable is valid only while determining the centralized catalog to use.)
SGML_TYPE
The type of the backend to use, whether it produces output files to be displayed online or to be printed out. It can take the value
html or print.
(This variable is valid only while determining the style sheet to use).
SGML_STYLESHEETS
The desired custom stylesheet type, either none or default. If none, the frontend must return the file name of the style sheet pro-
vided by the system beneath the docbook-utils. If default, the frontend must return the custom stylesheet provided by the docbook-
utils.
(This variable is valid only while determining the style sheet to use).
SGML_XML
The metalanguage of the file to convert, either sgml or xml.
(This variable is valid only while determining the centralized catalog to use).
FILES
SEE ALSO
backend-spec(7)
AUTHORS
Jochem Huhmann <joh@revier.com>
12 September 2012 FRONTEND-SPEC(7)