Sponsored Content
Top Forums Shell Programming and Scripting how to grep the responce on TL1 Post 302568364 by nikki1200 on Thursday 27th of October 2011 06:35:18 AM
Old 10-27-2011
oks sir zaxxon.. Thank you very much.. currently i'm playing on it. i hope i can make it. tsktsk.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Script not waiting for user responce

hi all, Im fairly new to scripting and am having a noobish issue. Ive got a script that checks for certain directories and if they dont exist, prompts the user to do a mkdir. heres trouble spot in the script: cat dirlsttemp.dat | while read dir; do echo "$dir does not exist, would you... (3 Replies)
Discussion started by: rdudejr
3 Replies

2. Shell Programming and Scripting

Executing TL1 commands through script

HI , I have to write a script for some testing , which will telnet to a device and execute some TL1 commands.. Does any one knows how to execute TL1 commands through a script Thanks in advance Binu (1 Reply)
Discussion started by: msbinu
1 Replies

3. Shell Programming and Scripting

Help with script, shutdown if no ping responce

Hi, i would like to create a script that shuts down the system if the power fails, basicly the solaris box would load the script at startup. Ping 192.168.1.100 every 20 secs If cannot get responce 3 times in a row send init 0 to the system. Simple but effective, as 192.168.100.1 wont be on... (39 Replies)
Discussion started by: ringofsteel
39 Replies

4. Shell Programming and Scripting

MEM=`ps v $PPID| grep -i db2 | grep -v grep| awk '{ if ( $7 ~ " " ) { print 0 } else

Hi Guys, I need to set the value of $7 to zero in case $7 is NULL. I've tried the below command but doesn't work. Any ideas. thanks guys. MEM=`ps v $PPID| grep -i db2 | grep -v grep| awk '{ if ( $7 ~ " " ) { print 0 } else { print $7}}' ` Harby. (4 Replies)
Discussion started by: hariza
4 Replies

5. UNIX for Dummies Questions & Answers

| help | unix | grep (GNU grep) 2.5.1 | advanced regex syntax

Hello, I'm working on unix with grep (GNU grep) 2.5.1. I'm going through some of the newer regex syntax using Regular Expression Reference - Advanced Syntax a guide. ls -aLl /bin | grep "\(x\)" Which works, just highlights 'x' where ever, when ever. I'm trying to to get (?:) to work but... (4 Replies)
Discussion started by: MykC
4 Replies

6. Shell Programming and Scripting

grep for certain files using a file as input to grep and then move

Hi All, I need to grep few files which has words like the below in the file name , which i want to put it in a file and and grep for the files which contain these names and move it to a new directory , full file name -C20091210.1000-20091210.1100_SMGBSC3:1000... (2 Replies)
Discussion started by: anita07
2 Replies

7. Shell Programming and Scripting

TL1 connect and login how to using Unix.

Hi All, I'm a newbie here, I'm just wondering how can i connect and login to TL1 using Unix? is it possible? Please advise, THanks, ---------- Post updated at 03:33 PM ---------- Previous update was at 03:09 PM ---------- is there anyone know how to connect and login in TL1 using... (2 Replies)
Discussion started by: nikki1200
2 Replies

8. UNIX for Dummies Questions & Answers

Bash - CLI - grep - Passing result to grep through pipe

Hello. I want to get all modules which are loaded and which name are exactly 2 characters long and not more than 2 characters and begin with "nv" lsmod | (e)grep '^nv???????????? I want to get all modules which are loaded and which name begin with "nv" and are 2 to 7 characters long ... (1 Reply)
Discussion started by: jcdole
1 Replies

9. Shell Programming and Scripting

Inconsistent `ps -eaf -o args | grep -i sfs_pcard_load_file.ksh | grep -v grep | wc -l`

i have this line of code that looks for the same file if it is currently running and returns the count. `ps -eaf -o args | grep -i sfs_pcard_load_file.ksh | grep -v grep | wc -l` basically it is assigned to a variable ISRUNNING=`ps -eaf -o args | grep -i sfs_pcard_load_file.ksh |... (6 Replies)
Discussion started by: wtolentino
6 Replies

10. Shell Programming and Scripting

Requesting help for TL1 scripting

HI Everyone, I have TL1 script which takes the temperature of a CISCO equipment through TELNET now i need to save the output of the command to a csv file . Like this is the output > RTRV-SHELFSTAT:AB1S2a::1; AB1S2a 2016-02-03 22:29:39 M 1 COMPLD ... (2 Replies)
Discussion started by: adgjmpt
2 Replies
eBook-speaker(1)						Unix user's manual						  eBook-speaker(1)

NAME
eBook-speaker - read aloud eBooks using a software speech-synthesizer SYNOPSIS
eBook-speaker eBook_file [-l language] DESCRIPTION
eBook-speaker reads the specified eBook_file and uses espeak for output. A list of items on the eBook will appear. Press <ENTER> to start playing. When reading of an item has finished, eBook-speaker will play the next item and the cursor will automatically skip to that item, so that an attached braille-terminal will display the name of that item. OPTIONS
eBook_file Give an eBook_file as argument to eBook-speaker. Currently the EPUB format and the Microsoft Reader eBook format (lit) are sup- ported. -l language eBook-speaker tries to detect the language of the specified eBook. With this option the detected language can be overridden. By some eBooks this option is mandatory. SCREEN
The name and version of this program and the name of the author will be displayed left aligned at the top of the screen. The name of the current loaded book will be displayed right aligned. The second row of the screen will display the number of pages of the current loaded book (if any), the current selected level and the total number of levels, the current displayed screen and the total number of screens. The next rows will display the title of the item, the first page of the item within brackets (if there are pages) and the total number of phrases in this item. Items in higher levels will be indented. (Three spaces each level.) When "just playing this item" is active, a "J" will be viewed at the first column of that item. CONTROL KEYS
eBook-speaker recognizes the following keyboard-commands: cursor down move cursor to the next item cursor up move cursor to the previous item cursor right skip to next phrase cursor left skip to previous phrase page-down view next screen page-up view previous screen enter Start playing space pause/resume playing home play on normal speed / search for a label D decrease playing speed f find the currently playing item and place the cursor there g go to page number (if any) h or ? give this help j just play current item and place a "J" at the first column. l switch to next level L switch to previous level n search forewards N search backwards o select next output sound device p place a bookmark q quit eBook-speaker. The playing-point will be saved as bookmark. s stop playing U increase playing speed FILES
~/.eBook-speaker/ This directory contains the bookmarks. Each file has the name of the book and contains the name of the current item, the start- phrase of that item and the current level, each on a own line. ~/.eBook-speaker.rc This file contains the name of the desired audio device, the desired playing speed and the desired language. AUTHOR
Jos Lemmens <jos@jlemmens.nl> COPYRIGHT
Copyright (C)2011 Jos Lemmens <jos@jlemmens.nl> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program (see the file COPYING); if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA 09 January 2013 eBook-speaker(1)
All times are GMT -4. The time now is 01:29 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy