Sponsored Content
Full Discussion: Execution problems with sed
Top Forums Shell Programming and Scripting Execution problems with sed Post 302620449 by balajesuri on Sunday 8th of April 2012 09:05:23 AM
Old 04-08-2012
You mean like this?

Code:
$ cat input
"http://www.tam159.com/common/data/22.img"
"http://www.cck.book.com/pub/book/common/data/index.php"
$
$ sed 's/www\..*\//www.cuk159.com\//' inputfile
"http://www.cuk159.com/22.img"
"http://www.cuk159.com/index.php"
$

 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

execution problems with curl

I have been getting error "curl: (7) Failed to connect to IP number 1" when using the CURL command Could someone help??? (1 Reply)
Discussion started by: infernalhell
1 Replies

2. Programming

execution problems with cron

how to store a date into file? and how we can access date from the file? ---------- Post updated at 06:09 AM ---------- Previous update was at 06:08 AM ---------- how we can store date in file? (1 Reply)
Discussion started by: causalmodi777
1 Replies

3. UNIX and Linux Applications

Execution Problems with Cron

Hi all!! I have a nerve-wracking concept (probably for me!!) which is not understood. My crontab entry looks this way. 33 09 22 3 * /home/myexp.sh "Bgp4 ALL" >/dev/null 2>&1 But cron gets started occasionally. Sometimes it does. Sometimes it does not. And sometimes it hangs in the middle (I... (1 Reply)
Discussion started by: dhivyasuresh
1 Replies

4. Shell Programming and Scripting

Execution Problems!!

i have been working on this for a about 12 hours today say's end of file un expected any idea's using the bourne shell and its driving me nuts worked fine in bash but prof says make it work in bourne and good luck worth 13% any help would be awesome #!/bin/sh trap "rm mnt2/source/tmp/* 2>... (1 Reply)
Discussion started by: mrhiab
1 Replies

5. Homework & Coursework Questions

Execution Problems with sed

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Okay so I am taking bash scripting this semester and we are now working on the stream editor sed. For our book we... (4 Replies)
Discussion started by: aggie6970
4 Replies

6. UNIX for Dummies Questions & Answers

Execution Problems with Cron

Hi friends, today i created a cron job , registered the crontab file associated but dont know why the cron is not getting executed at the right time.?? content of Crontab file : 21 15 * * * /subrat/myt i wanted to execute the script myt on 15:21 PM of everyday. the script myt... (2 Replies)
Discussion started by: paras.oriental
2 Replies

7. Shell Programming and Scripting

Execution Problems

this my source file ************* fixed *************** Begin equipmentId : d9 processor : fox number : bhhhhhh Variable # 1: Id : 100 Type : 9 nType : s gType : 5f mType : 4 LField : England DataField : london Length ... (6 Replies)
Discussion started by: teefa
6 Replies

8. UNIX for Dummies Questions & Answers

Execution Problems with Cron

Good evening, ive got this cron to be run: if i run this manually it doesnt work,it takes me to the prompt again /export/app/CO/opge/scr/Informe_parametros_colombia.ksh >/dev/null 2>&1 here is the code fragment: coopge@coopge: opge PRODUCCION>more... (1 Reply)
Discussion started by: alexcol
1 Replies

9. HP-UX

Execution problems with swreg

HP UX 10.20 I have a directory "/var/spool/sw" which is supposed to be a "Depot" directory. Turns out it is not and when using the swreg command "swreg -l /var/spool/sw" I get errors in part ERROR for option "-l /var/spool/sw" keyword or it's value may be incorrect or the keyword does not apply... (3 Replies)
Discussion started by: Randydog
3 Replies

10. UNIX for Beginners Questions & Answers

Execution problems

How to find a word in a directory which contains many files? i just want to count how many such words are present in all the files? This is the code which i tried for a single file echo "Enter the file name:" read file echo "Enter the word to search:" read word if then echo "The count... (4 Replies)
Discussion started by: Meeran Rizvi
4 Replies
wml::std::logo(3)						     EN Tools							 wml::std::logo(3)

NAME
wml::std::logo - Logo Insertion SYNOPSIS
#use wml::std::logo <logo [attributes]> DESCRIPTION
This include file provides the "<logo>" tag to insert logo images. The logo is selected via attribute "name". The following logos are available: Name Inserted Hint Inserted URL -------- ------------------------------ ---------------------------- apache Apache Webserver Project http://www.apache.org/ freebsd FreeBSD Operating System http://www.freebsd.org/ gimp GNU Image Manipulation Program http://www.gimp.org/ htdig Internet search engine http://www.htdig.org/ linux Linux Operating System http://www.linux.org/ netbsd NetBSD Operating System http://www.netbsd.org/ openbsd OpenBSD Operating System http://www.openbsd.org/ php PHP Hypertext Preprocessor http://www.php.net/ vim Vi Improved Editor http://www.vim.org/ wml Website META Language http://www.engelschall.com/sw/wml/ xemacs XEmacs Editor http://www.xemacs.org/ ATTRIBUTES
"name" The "name" attribute selects which logo is wanted. The table above lists valid names, and wml is used by default. "base" Usually the logos are copied into logo-xxxxxx.png where "xxxxxx" is the name of the logo. When you use a "base=foo" attribute, then the resulting files are named foo.logo-xxxxxx.png. Actually you can even use a complete filename including a directory prefix, i.e. when you use "base=../../common/foo" attribute, then the images are created as ../../common/foo.logo-xxxxxx.png. And for most flexibility when no base is specified and the variable "LOGO_BASE" is defined (usually from within a .wmlrc file via "-LOGO_BASE~path/to/logo/dir/base") it is used. Use this feature to copy the logos to a particular directory. You may also use the variable "IMAGE_BASE" which defines in a single line all base names for images generated by WML. "format" Logos are available in PNG or GIF formats. This attribute is the filename extension of the desired format, i.e. respectively "png" and "gif". Default is "png" extension ; this default can be changed via the "IMAGE_FORMAT" variable. "file" This attribute defines the logo filename. It overrides all other computed values. "target" If the "target" attribute is used, it refers to a target frame or window where the hyperlink is redirected to. "notag" This forces "<logo>" to expand to nothing, i.e. no resulting "<img>" tag. The image itself is still generated. In combination with the above "file" attribute this can be used to generate images to particular files which can be used at other positions, for instance inside "<rollover>" (see wml::des::rollover(3)) tags. EXAMPLE
This example only copy the vim logo to "$(IMAGES)/logo-vim.png" without any output: <logo name=vim format=png base="$(IMAGES)/logo" notag> AUTHORS
Ralf S. Engelschall rse@engelschall.com www.engelschall.com Denis Barbier barbier@engelschall.com REQUIRES
Internal: P1, P2, P3 External: -- HISTORY
For backward compatibility a logo named "php3" is also available. Inluding the version number was not a really good idea, use the logo "php" instead. Expect that the logo "php3" will be removed in future releases. SEE ALSO
wml(1) EN Tools 2014-04-16 wml::std::logo(3)
All times are GMT -4. The time now is 10:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy