Sponsored Content
Full Discussion: sed & awk
Top Forums Shell Programming and Scripting sed & awk Post 302233419 by nani_ynm on Sunday 7th of September 2008 03:18:16 PM
Old 09-07-2008
thanks for the links era...

Good qns be kukuruku...

My question is, whehter i should learn sed and awk? Aren't this tools outdated?
Although i see that GNU upgrade it's versions of these tools from time to time.

Can somebody ans for the above please...

- nani
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

sed & awk help...

I have a question. Take the following statement awk -F\| '{print $21}' testfile | sed 's/\//\\/g' > newfile This will grab the 21st column of a | delimited text file, replace the forward slashes "/" , with back slashes "\", and redirect the output newfile. Now, how do I get the output... (4 Replies)
Discussion started by: shimb0
4 Replies

2. Shell Programming and Scripting

awk & sed problem

Hello, I am new to shell scripting. I want to optimize my one of the script. I have one file and i want to remove selected zones for domains from that file.In this file i have almost 3500 zones for domains.Sample data for the file.... named.backup... (0 Replies)
Discussion started by: nrbhole
0 Replies

3. Shell Programming and Scripting

New to Sed & Awk

How do I grab the first 10 characters of a line and append it to another empty file? (7 Replies)
Discussion started by: xgringo
7 Replies

4. UNIX for Dummies Questions & Answers

Pattern matching New to Sed & Awk

Hello, Despite reading the Pattern Matching chapter in the O'Reilly Sed & Awk book several times and looking at numerous examples, I cannot seem to get any kind of conditional script to work in my awk scripts! I am able to do the basic awk and grep script to capture the data but when I do with... (0 Replies)
Discussion started by: pg55
0 Replies

5. Shell Programming and Scripting

Sed & awk programming

Hi all, can anyone have sed & awk programming doc..so that to learn it easier.. (1 Reply)
Discussion started by: gk2009
1 Replies

6. Shell Programming and Scripting

SED/AWK file read & manipulation

I have large number of data files, close to 300 files, lets say all files are same kind and have extension .dat , each file have mulitple lines in it. There is a unique line in each file containing string 'SERVER'. Right after this line there is another line which contain a string 'DIGIT=0',... (4 Replies)
Discussion started by: sal_tx
4 Replies

7. UNIX for Dummies Questions & Answers

awk & sed

Hi, Can anyone let me know the difference between awk and sed utilities in Unix? Many thanks. (2 Replies)
Discussion started by: venkatesht
2 Replies

8. Shell Programming and Scripting

Awk & sed query for output

Hello, I have a file. its content are like below. mdn:87439842 imsi:23082038203 Ctime:12082010 01:20:10 mdn:9324783783 imsi:402349823322 Ctime: 12072010 01:20:10 mdn:87439842 imsi:23082038203 Ctime: 23072010 01:20:10 mdn:87439842 imsi:23082038203 Ctime:18072010 01:20:10 mdn:87439842... (3 Replies)
Discussion started by: Sanket11
3 Replies

9. Shell Programming and Scripting

sed & awk Book

Hi Experts, I am studying SED and AWK text processing commands with an E-book. I am not satisfied with the way of explanation and examples given by them. I would like you guys to suggest me the Best book for SED and AWK to become good in this utility. Thanks in Advance (1 Reply)
Discussion started by: linuxrulez
1 Replies

10. Shell Programming and Scripting

How to print & and \n while replacing with sed/awk?

string="din&esh\nisgood" File.txt: the name is sed "s#\#${string}#g" File.txt Output am getting: the name is dinesh is good Expected output: the name is din&esh\nisgood The input string is dynamic it will be keep on changing am able to handle & by placing \& in the string.. (5 Replies)
Discussion started by: dineshaila
5 Replies
SHTOOLIZE.TMP(1)					      GNU Portable Shell Tool						  SHTOOLIZE.TMP(1)

NAME
shtoolize - Build individual GNU shtool scripts VERSION
GNU shtool 2.0.8 (18-Jul-2008) SYNOPSIS
shtoolize [-h] [-v] [-q] [-o script] module [ module ... ] DESCRIPTION
The shtoolize program builds individual GNU shtool scripts (written to the default output file "shtool" or to the specified script) out of one or more shtool ingredient modules. Available modules are: echo Print string with optional construct expansion mdate Pretty-print modification time of a file or dir table Pretty print a field-separated list as a table prop Display progress with a running propeller move Move files with simultan substitution install Install a program, script or datafile mkdir Make one or more directories mkln Make link with calculation of relative paths mkshadow Make a shadow tree fixperm Fix file permissions inside a source tree rotate Rotate a logfile tarball Roll distribution tarballs subst Apply sed(1) substitution operations platform Platform identification utility arx Extended archive command slo Separate linker options by library class scpp Sharing C Pre-Processor version Generate and maintain a version information file path Deal with program paths Additionally there is a pseudo-module ``"all"'' which can be used as a short-hand for ``"echo mdate table prop move install mkdir mkln mkshadow fixperm platform arx slo scpp version path"'', i.e. to build a shtool script with all modules in the standard order. An installed shtool is usually built this way via ``"shtoolize -o shtool all"''. Use the shtoolize program to build individual shtool scripts in case you want a smaller sized script and you don't need all of the available shtool functionality. For instance for the classical Autoconf based free software package a "shtool" script build via ``"shtoolize -o shtool install mkdir"'' might be sufficient. OPTIONS
The following command line options exist: -h Displays a short help page describing the usage of shtoolize. -v Displays the version number of shtoolize/shtool. -q Displays no processing information. -o script Writes the output to file script instead to file ``"shtool"''. EXAMPLE
The typical free software package which is based on GNU libtool and GNU shtool one uses a "Makefile" entry like the following: # Makefile entry for upgrading GNU tools upgrade-tools: libtoolize -f -c shtoolize -q all This upgrades the three files "ltmain.sh", "ltconfig" and "shtool" in the current source tree to the latest versions. SEE ALSO
shtool(1). AUTHOR
Ralf S. Engelschall rse@engelschall.com www.engelschall.com 18-Jul-2008 shtool 2.0.8 SHTOOLIZE.TMP(1)
All times are GMT -4. The time now is 12:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy