Sponsored Content
Full Discussion: Send keys in shell script
Top Forums Shell Programming and Scripting Send keys in shell script Post 303043731 by Neo on Wednesday 5th of February 2020 06:46:33 AM
Old 02-05-2020
You are using vi / vim in a script?
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Send e-mail in Shell script

How to send an error mail from a shell script e.g. mail destination_adr@blabla.int "Message : here an error message " thanks, Ann. (1 Reply)
Discussion started by: annelisa
1 Replies

2. Shell Programming and Scripting

Shell script to send a mail

Hi , I need to prepare a script which will check my database with specific to particluar table. If the row count exceeds a certain limit, i need to send a mail to a set of Recipients. Being new to unix, please guide me to complete this task. Advance thanks, Sekar. (4 Replies)
Discussion started by: Sekar1
4 Replies

3. Shell Programming and Scripting

[Bash] Send Keys help

Hi all, I have programmed in VB before, and have recently moved on to Bash. In VB there is a command: SendKeys {F12} > "Show Help" SendKeys {Y} > "Answer Yes" Is there any way of doing this in Bash? (I need to send the Ctrl key into the script?) Thanks in advance (3 Replies)
Discussion started by: mikejreading
3 Replies

4. Shell Programming and Scripting

within shell script send expect and if else

Hi I have written one shell script , using that i am able to connect to remote machine but i have to #!/usr/bin/expect -f set address set username set password set OOLpath set dbusername set dbpasswd set tnsname set recdbusername set recdbpasswd set rectnsname spawn ssh... (1 Reply)
Discussion started by: mnmonu
1 Replies

5. Shell Programming and Scripting

within shell script send expect and if else

Hi, I have written one shell script , using that i am able to connect to remote machine but i have to #!/usr/bin/expect -f set address set username set password set OOLpath set dbusername set dbpasswd set tnsname set recdbusername set recdbpasswd set rectnsname spawn ssh... (2 Replies)
Discussion started by: mnmonu
2 Replies

6. Shell Programming and Scripting

How to send email through shell script

Hi All, I am new to the unix , i have to deliver one script very urgently I have to write a shell script where i have i want to send email to specific email id in this script i want FROM to be parameterized and stored in a variable TO to be parameterized and stored in a variable... (3 Replies)
Discussion started by: nileshbhawsar
3 Replies

7. Shell Programming and Scripting

Shell script for SFTP using Public and private keys

Hi all, I needed a shell script for file transfering using public/private keys for authentication. Could you please help me out on this? A procedure to write a shell script is enough. Thanks in advance. Regards. Vidya N (8 Replies)
Discussion started by: Vidya N
8 Replies

8. UNIX for Dummies Questions & Answers

How to send e-mail from shell script ( C shell )?

Hi , How to send e-mail from shell script ( C shell ) . Mailx command is not working ( It didn't giving error also ). Please help me (2 Replies)
Discussion started by: arukuku
2 Replies

9. Shell Programming and Scripting

To send a mail through shell script

I want to send a mail through shell script,If it is possible Please give me a code. mail id : upload.xxx@example.com (8 Replies)
Discussion started by: kannansoft1985
8 Replies

10. Shell Programming and Scripting

A shell script to run a script which don't get terminated and send a pattern from the output by mail

Hi Guys, I am very new to shell script and I need your help here to write a script. Actually, I have a script abc.sh which don't get terminated itself. So I need to design a script to run this script, save the output to a file, search for a given string in the output and if it exists send those... (11 Replies)
Discussion started by: Sambit Sahu
11 Replies
Devel::Cover::Report::Vim(3)				User Contributed Perl Documentation			      Devel::Cover::Report::Vim(3)

NAME
Devel::Cover::Report::Vim - Backend for displaying coverage data in Vim VERSION
version 1.03 SYNOPSIS
cover -report vim DESCRIPTION
This module provides a reporting mechanism for displaying coverage data in Vim. It is designed to be called from the "cover" program. By default, the output of this report is a file named "coverage.vim" in the directory of the coverage database. To use it, run :so cover_db/coverage.vim and you should see signs in the left column indicating the coverage status of that line. The signs are as follows: P - Pod coverage S - Statement coverage R - Subroutine coverage B - Branch coverage C - Condition coverage The last of the criteria, in the order given above, is the one which is displayed. Correctly covered criteria are shown in green. Incorrectly covered criteria are shown in red. Any incorrectly covered criterion will override a correctly covered criterion. If the coverage for the file being displayed is out of date the a fucntion called g:coverage_old() is called and passed the name of the file. Similarly, for current coverage data file file g:coverage_valid is called. Signs may be overridden in a file named devel-cover.vim located somewhere underneath the ~/.vim directory. For example, I use the solarized theme and keep the following comamnds in my local configuration file ~/.vim/local/devel-cover.vim: let s:fg_cover = "#859900" let s:fg_error = "#dc322f" let s:bg_valid = "#073642" let s:bg_old = "#342a2a" let s:types = [ "pod", "subroutine", "statement", "branch", "condition", ] for s:type in s:types exe "highlight cov_" . s:type . " ctermbg=1 cterm=bold gui=NONE guifg=" . s:fg_cover exe "highlight cov_" . s:type . "_error ctermbg=1 cterm=bold gui=NONE guifg=" . s:fg_error endfor exe "highlight SignColumn ctermbg=0 guibg=" . s:bg_valid " highlight cov ctermbg=8 guibg=#002b36 " highlight err ctermbg=0 guibg=#073642 function! s:set_bg(bg) for s:type in s:types exe "highlight cov_" . s:type . " guibg=" . a:bg exe "highlight cov_" . s:type . "_error guibg=" . a:bg endfor exe "highlight SignColumn ctermbg=0 guibg=" . a:bg endfunction function! g:coverage_valid(filename) call s:set_bg(s:bg_valid) endfunction function! g:coverage_old(filename) call s:set_bg(s:bg_old) endfunction This configuration sets the background colour of the signs to a dark red when the coverage data is out of date. coverage.vim adds two user commands: :Cov and :Uncov which can be used to toggle the state of coverage signs. The idea and the vim template is shamelessly stolen from Simplecov-Vim. See https://github.com/nyarly/Simplecov-Vim SEE ALSO
Devel::Cover Simplecov-Vim (https://github.com/nyarly/Simplecov-Vim) BUGS
Huh? LICENCE
Copyright 2012-2013, Paul Johnson (paul@pjcj.net) This software is free. It is licensed under the same terms as Perl itself. The latest version of this software should be available from my homepage: http://www.pjcj.net The template is copied from Simplecov-Vim (https://github.com/nyarly/Simplecov-Vim) and is under the MIT Licence. The MIT License Copyright (c) 2011 Judson Lester Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. perl v5.16.3 2013-05-20 Devel::Cover::Report::Vim(3)
All times are GMT -4. The time now is 07:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy