11-01-2013
Thanks bakunin, that was an good explanation.
And yes i understand that because of the <br/> only my sed is not functioning.
But, am just looking for the options for both of them to work , is there any ?
If not will have to figure out assigning different variables but that's not feasible.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
hello,
i have a listing (let say ABC) consists of the below:
:
public database link
public synonym
role
rollback segment
:
when i run the below for loop,
for i in `more ABC`
do
echo "$i"
done
it gives me,
:
public
database (4 Replies)
Discussion started by: newbie168
4 Replies
2. Shell Programming and Scripting
I have script like
echo -n FINISHED FEXP: ${TABLE2EXP}
echo $STATUS
I want the output of both the echo statement in one line
How can i do this (3 Replies)
Discussion started by: scorp_rahul23
3 Replies
3. UNIX for Advanced & Expert Users
hi
I want to display:
The students are:
a
b
c
What I get from
echo "The students are:" "$list"
is
The students are: a
b
c
any idea? (6 Replies)
Discussion started by: melanie_pfefer
6 Replies
4. Shell Programming and Scripting
Hi
i would like disply the new line in echo command.
i have input like:
echo " X1 02:12:13 X2 03:02:12 "
out put:
X1 02:12:13
X2 03:02:12
can you tell how can use new line option in echo command. (5 Replies)
Discussion started by: koti_rama
5 Replies
5. Shell Programming and Scripting
Hi
I want to display "echo command value in loop" in single line. My requirement is to show the input file (test_1.txt) like the output file (test_2.txt) given below.
Input file :test_1.txt
a1|b1|4|5
a1|b1|42|9
a2|b2|32|25
a1|b1|2|5
a3|b3|4|8
a2|b2|14|6
Output file:test_2.txt... (2 Replies)
Discussion started by: sakthifire
2 Replies
6. Shell Programming and Scripting
Hello,
I'm writing some bash scripts and I'm trying to get an echo command and the output of another command to display on the same line. For example:
I want to run
echo "Operating System: " unameand have it displayed as
Operating System: Darwin
Thanks for your help! (7 Replies)
Discussion started by: codyhazelwood
7 Replies
7. Shell Programming and Scripting
Hi,
I try to write script and echo two command at the same line .
echo "A"
echo "B"
How can I pipe above two command at the same line in text file .
So, in the output text file , you can see below ???
A B
not
A
B
Any sugggestion ??? (4 Replies)
Discussion started by: chuikingman
4 Replies
8. Shell Programming and Scripting
Hello,
I have a very basic script
#!/usr/bin/ksh
while
print ' '
print ' 1. View Command History '
print ' 2. List files in current Directory '
read opt'?Enter Option> ' ;do
if ;then
fc -l
fi
#
if ;then
ls -la
I want to... (10 Replies)
Discussion started by: Grueben
10 Replies
9. Shell Programming and Scripting
Hello,
I have written a command n shell script :
srvctl relocate service -d t1 -s s1 -i i1 -t t1 -f
If the above command executes successfully without error I need to echo
"Service relocated successfully
and If it errors out I need to trap the errors in a file and also need to make... (1 Reply)
Discussion started by: Vishal_dba
1 Replies
10. Shell Programming and Scripting
Dear All,
fileName: therm.txt
nc3h7o2h 7/27/98 thermc 3h 8o 2 0g 300.000 5000.000 1390.000 41
1.47017550e+01 1.71731699e-02-5.91205329e-06 9.21842570e-10-5.36438880e-14 2
-2.99988556e+04-4.93387892e+01 2.34710908e+00 4.34517484e-02-2.65357553e-05 3
... (7 Replies)
Discussion started by: linuxUser_
7 Replies
learn(1) General Commands Manual learn(1)
NAME
learn - Provides computer-aided instruction for the C shell
SYNOPSIS
learn [-directory] [subject] [lesson]
The learn command provides computer-aided instruction courses and practice in the use of Tru64 UNIX.
OPTIONS
Allows you to exercise a script in a nonstandard place.
DESCRIPTION
To get started, enter learn; if this is the first time that you are invoking the learn command, you are guided through a series of ques-
tions to determine what type of instruction you want to receive.
If you have used learn before and left your last session without completing a subject, the program uses information in $HOME/.learnrc to
start you up in the same place you left off.
To bypass questions, enter a subject or lesson. In order to enter a lesson, you must know the lesson number that you received in a previ-
ous learn command session. If you do not know the lesson number, enter the lesson number as a subject. The learn command searches for the
first lesson containing the subject you specified. If the lesson is a - (dash), learn prompts for each lesson; this is useful for debug-
ging.
You can specify the following subjects:
files editor vi morefiles macros eqn C
SUBCOMMANDS
There are a few special commands. The bye command terminates a learn session, and the where command tells you of your progress (where m
tells you more.) The again command redisplays the text of the lesson and again lesson lets you review lesson. The hint command prints the
last part of the lesson script used to evaluate a response, while hint m prints the entire lesson script. This is useful for debugging
lessons and might possibly give you an idea about what is expected.
EXAMPLES
To take the online lesson about files, enter: learn files
You are then prompted for further input.
FILES
Playpen directories. Start-up information.
SEE ALSO
Commands: csh(1), ex(1)
learn(1)