Sponsored Content
Full Discussion: Unix script required
Top Forums Shell Programming and Scripting Unix script required Post 302531491 by itkamaraj on Friday 17th of June 2011 02:51:28 AM
Old 06-17-2011
* (star)Repeats the previous item zero or more times. Greedy, so as many items as possible will be matched before trying permutations with less matches of the preceding item, up to the point where the preceding item is not matched at all
Regular Expressions Reference - Basic Syntax

.*= this will match the aasaasas=, bsasasasasa=, ..........

so i am replacing that with empty sed 's/.*=//'
This User Gave Thanks to itkamaraj For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

UNIX PATH info required PLEASE HELP (I'm new to unix)

I need to know how to enter a unix path in a cgi script for a guest book: example: My URL is http://www.kitachi.info I have an html file in the main folder on my site, the file is called : gbook.html what would the correct unix path for this file be ??? the part of the script... (1 Reply)
Discussion started by: akitachi
1 Replies

2. Programming

UNIX Internals, Help required...

I know UNIX user level commands, shell scripts. But i have no idea about kernel level programming and networking. I know the terms semaphore,IPC,socket programming. But i don't know in details what are these. I need to know the following. 1. Unix kernel level programming. 2. Unix Internals. 3.... (4 Replies)
Discussion started by: digdarshan
4 Replies

3. UNIX for Advanced & Expert Users

help required in unix command/script

Hi All, Please help me in writting the script File contains: ========= 11424444, <basicpage> jfalfksf <dateofbirth>10/02/2005</dateofbrith> jkaklgja lg'd .... 11423224444, <basicpage> jfalfksf <dateofbirth>11/02/2005</dateofbrith> jkaklgja lg'd 11433523224444, <basicpage>... (1 Reply)
Discussion started by: thaduka
1 Replies

4. Shell Programming and Scripting

Help Required: To run the attached UNIX script

Hi, This Script contains update statements and running without error. But the update result is not getting reflected in the database. i.e may be Script fails to connect to the database. it would be of great help if you could figure out the problem. Thanks, Shruti Script follows here:... (5 Replies)
Discussion started by: Shrutiduggal
5 Replies

5. UNIX for Advanced & Expert Users

Help required regarding Unix Signal

It is required to trap the signal send to a daemon process before rebooting a unix server. Suppose a script abc.ksh is running in the server as daemon. Before rebooting the server, the unix admin kills all the daemon processes. It is not known to me how admin kills the processes; I mean by which... (9 Replies)
Discussion started by: k_bijitesh
9 Replies

6. Shell Programming and Scripting

Getting required fields from a test file in required fromat in unix

My data is something like shown below. date1 date2 aaa bbbb ccccc date3 date4 dddd eeeeeee ffffffffff ggggg hh I want the output like this date1date2 aaa eeeeee I serached in the forum but didn't find the exact matching solution. Please help. (7 Replies)
Discussion started by: rdhanek
7 Replies

7. Shell Programming and Scripting

Help required on basic Unix Bourne Shell Script

Howdy People :), I'm a newbie & its my first question here. I've started learning Unix Bourne Shell scripting recently and struggling already :p Can someone PLEASE help me with the following problem. Somehow my script is not working. Display an initial prompt of the form: Welcome to... (1 Reply)
Discussion started by: methopoth
1 Replies

8. Shell Programming and Scripting

How to send email using shell script in UNIX, Is any environment setup required in Mac OS X ?

Hi All, I am using Mac OS X (Leopard OS). I am very new to UNIX. My requirement is that, by running a shell script, I create a log file. So I have to send a mail having that log file attached. What I tried to do is, I simply tried to check,whether this direct command works or not. So I... (2 Replies)
Discussion started by: Afreen
2 Replies

9. Shell Programming and Scripting

UNIX Script required for count the records in table

Hi Friends, I looking for the script for the count of the records in table. and then it's containg the zero records then should get abort. and should notify us through mail. Can you please help me out in this area i am lacking. (5 Replies)
Discussion started by: victory
5 Replies

10. UNIX for Beginners Questions & Answers

UNIX shell script required to read two columns from xml

Hello All, I am new to unix scripting. I need to read FROMINSTANCE, FROMFIELD from below XML code and need to write a script for insert into SQ_EPIC values( "DID", "PROJECT_NAME") Select DID, PROJECT_NAME from EPIC<CONNECTOR TOINSTANCETYPE="Source Qualifier" TOINSTANCE="SQ_EPIC" TOFIELD="DID"... (7 Replies)
Discussion started by: sekhar.lsb
7 Replies
webcheck(1)							   User Commands						       webcheck(1)

NAME
webcheck - website link checker SYNOPSIS
webcheck [OPTION]... URL DESCRIPTION
webcheck will check the document at the specified URL for links to other documents, follow these links recursively and generate an HTML report. -i, --internal=PATTERN Mark URLs matching the PATTERN (perl-type regular expression) as an internal link. Can be used multiple times. Note that the PATTERN is matched against the full URL. URLs matching this PATTERN will be considered internal, even if they match one of the --external PATTERNs. -x, --external=PATTERN Mark URLs matching the PATTERN (perl-type regular expression) as an external link. Can be used multiple times. Note that the PATTERN is matched against the full URL. -y, --yank=PATTERN Do not check URLs matching the PATTERN (perl-type regular expression). Like the -x flag, though this option will cause webcheck to not check the link matched by regex whereas -x will check the link but not its children. Can be used multiple times. Note that the PATTERN is matched against the full URL. -b, --base-only Consider any URL not starting with the base URL to be external. For example, if you run webcheck -b http://www.example.com/foo then http://www.example.com/foo/bar will be considered internal whereas http://www.example.com/ will be considered external. By default all the pages on the site will be considered internal. -a, --avoid-external Avoid external links. Normally if webcheck is examining an HTML page and it finds a link that points to an external document, it will check to see if that external document exists. This flag disables that action. --ignore-robots Do not retrieve and parse robots.txt files. By default robots.txt files are retrieved and honored. If you are sure you want to ignore and override the webmaster's decision this option can be used. For more information on robots.txt handling see the NOTES section below. -q, --quiet, --silent Do not print out progress as webcheck traverses a site. -d, --debug Print debugging information while crawling the site. This option is mainly useful for developers. -o, --output=DIRECTORY Output directory. Use to specify the directory where webcheck will dump its reports. The default is the current directory or as specified by config.py. If this directory does not exist it will be created for you (if possible). -c, --continue Try to continue from a previous run. When using this option webcheck will look for a webcheck.dat in the output directory. This file is read to restore the state from the previous run. This allows webcheck to continue a previously interrupted run. When this option is used, the --internal, --external and --yank options will be ignored as well as any URL arguments. The --base-only and --avoid-external options should be the same as the previous run. Note that this option is experimental and it's semantics may change with coming releases (especially in relation to other options). Also note that the stored files are not guaranteed to be compatible between releases. -f, --force Overwrite files without asking. This option is required for running webcheck non-interactively. -r, --redirects=N Redirect depth. the number of redirects webcheck should follow when following a link. 0 implies to follow all redirects. -u, --userpass=URL Specify a URL with username and password information to use for basic authentication when visiting the site. e.g. http://test:secret@example.com/ This option may be specified multiple times. -w, --wait=SECONDS Wait SECONDS between document retrievals. Usually webcheck will process a url and immediately move on to the next. However on some loaded systems it may be desirable to have webcheck pause between requests. This option can be set to any non-negative number. -v, --version Show version of program. -h, --help Show short summary of options. URL CLASSES
URLs are divided into two classes: Internal URLs are retrieved and the retrieved item is checked for syntax. Also, the retrieved item is searched for links to other items (of any class) and these links are followed. External URLs are only retrieved to test whether they are valid and to gather some basic information from them (title, size, content-type, etc). The retrieved items are not inspected for links to other items. Apart from their class, URLs can also be considered yanked (as specified with the --yank or --avoid-external options). The URLs can be either internal or external and will not be retrieved or checked at all. URLs of unsupported schemes are also considered yanked. EXAMPLES
Check the site www.example.com but consider any path with "/webcheck" in it to be external. webcheck http://www.example.com/ -x /webcheck NOTES
When checking internal URLs webcheck honors the robots.txt file, identifying itself as user-agent webcheck. Disallowed links will not be checked at all as if the -y option was specified for that URL. To allow webcheck to crawl parts of a site that other robots are disallowed, use something like: User-agent: * Disallow: /foo User-agent: webcheck Allow: /foo ENVIRONMENT
<scheme>_proxy Proxy url for <scheme>. REPORTING BUGS
Bug reports shoult be sent to the mailing list <webcheck-users@lists.arthurdejong.org>. More information on reporting bugs can be found on the webcheck homepage: http://arthurdejong.org/webcheck/ COPYRIGHT
Copyright (C) 1998, 1999 Albert Hopkins (marduk) Copyright (C) 2002 Mike W. Meyer Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Arthur de Jong webcheck is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. The files produced as output from the software do not automatically fall under the copyright of the software, unless explicitly stated otherwise. Version 1.10.4 Sep 2010 webcheck(1)
All times are GMT -4. The time now is 02:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy