Sponsored Content
Top Forums Shell Programming and Scripting Need help with AWK code using xargs Post 302649277 by itkamaraj on Thursday 31st of May 2012 06:06:20 AM
Old 05-31-2012
Please open a new thread

Image
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

xargs

Can I use xargs to send a list of commands to a process, to be acted upon individually? Here's what I have: a file that contains numbers, one per line. The desired outcome it to send each number to a DB2 query. I thought xargs would work, but it doesn't. I tried it like this: cat file | xargs |... (4 Replies)
Discussion started by: jpprial
4 Replies

2. Shell Programming and Scripting

why we use xargs..

hi , can anyone help me by saying why we use xargs.. is it acing like a place holder..? thanks, Krips. (3 Replies)
Discussion started by: kripssmart
3 Replies

3. UNIX for Advanced & Expert Users

xargs -P

I discovered that GNU's xargs has a -P option to allow its processes to run in parallel. Great! Is this a GNU thing, or is it supported by other platforms as well? (4 Replies)
Discussion started by: otheus
4 Replies

4. Shell Programming and Scripting

Using xargs

hi i just want to know that how do we use xargs command to find files which are greater than specified memory in a given directory (6 Replies)
Discussion started by: sumit the cool
6 Replies

5. Shell Programming and Scripting

Help in using xargs

Hi, I have a requirement to RCP the files from remote server to local server. Also the RCP has to run in parallel. However using 'xargs' retrives 2 file names during each loop. How do we restrict to only one file name using xargs and loop till remaining files. I use the below code for... (2 Replies)
Discussion started by: senthil3d
2 Replies

6. Shell Programming and Scripting

Xargs and

Hello there, Let me show you a simple example of what I am trying to achieve: 1) I have an input text file with some lines: 1 a 2 b 3 c 2) And I want to run a command with these lines as arguments (+ arbitrary extra arguments). For example: $ command "1 a" "2 b" "3 c" "bye" I... (7 Replies)
Discussion started by: tokland
7 Replies

7. Shell Programming and Scripting

Help with xargs

hi Could any one please tell me the option using which we can run multiple commands using xargs I have list of files, I want to run dos2unix and chmod at one shot on them I tried google n searched man pages but couldnt really find the solution , please help right now im doing this ls... (4 Replies)
Discussion started by: sunilmenhdiratt
4 Replies

8. Shell Programming and Scripting

Help with find, xargs and awk

Hi, I want to find some files and then search for some lines in it with a particular pattern and then write those lines into a file. To do this I am using something like this from command prompt directly. cd /mdat/BVG find -name "stmt.*cl" -newer temp.txt | xargs -i awk '/BVG-/{print}' {} >... (7 Replies)
Discussion started by: Sandhya Harsh
7 Replies

9. UNIX for Dummies Questions & Answers

Xargs

Hi, can anyone tell me in detail ? what the following do in detail ? I am trying to get a largest number in a list Thanks Tao LARGEST=$(echo $* | xargs -n1 | sort -nr | tail -1) (3 Replies)
Discussion started by: ccp
3 Replies

10. Shell Programming and Scripting

Xargs, awk, match, if greater - as a one-liner

Hi I have multiple files for which I want to use awk for the following: Read each line in each file- if any of the columns match "PVALUE=" followed by the number, then print the line in case the number following "PVALUE=" is greater than 0.05. I did the following: ls *.txt | xargs -I @ -P15... (14 Replies)
Discussion started by: ts89490
14 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 11:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy