Sponsored Content
Full Discussion: Need awk good link
Top Forums Shell Programming and Scripting Need awk good link Post 302748571 by AraR87 on Wednesday 26th of December 2012 07:59:45 AM
Old 12-26-2012
okay Thank youSmilie i will go thro these links.

Thanks againSmilie
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

needed very good link for Shell script

I am new to shell script.I need a link which explains basic concepts for shell scrpting (1 Reply)
Discussion started by: rajareddy_24
1 Replies

2. UNIX for Dummies Questions & Answers

Can any good awk'er resolve this issue?

awk -F^ '{ if ((($1 != "M") && ($5 != "2")) || (($1 != "S") && ($5 != "7"))) print $0}' welcome > welcome1 The "&&" and "||" in the above command is not working with awk. When I run the above command, the same content of welcome is copied to welcome1 without any difference. Your reply is... (12 Replies)
Discussion started by: karthickrn
12 Replies

3. UNIX for Dummies Questions & Answers

Good resource for learning awk with example

Hi Guys, I need to learn awk and looking for some good resource with example. I have been using Unix from long time but awk is something always allude me. would be great if you guys could point me on some good stuff but less complicated one :) Thanks Javin (2 Replies)
Discussion started by: javabuddy
2 Replies

4. Programming

g++ fails to link to static library when compilation and link in single command

Hello All, I've encountered a strange behaviour from g++ that doesn't make sense to me. Maybe you can shed some light on it: I have a bunch of source files and want to compile them and link them with a static library liba.a located in /usr/local/lib64 into an executable Approach 1 works... (0 Replies)
Discussion started by: magelord
0 Replies

5. Shell Programming and Scripting

awk symbolic link

I have problem find "$@" -type l -printf "%l\n" 2>/dev/null | awk -F/ ' NF > n {deepest = $0; n=NF} END {print "Output:", deepest}' My script should search all arguments which are directories for longest symbolic link path but i want Output to be this way Output: '/xxx/xxx/xxx/link ->... (1 Reply)
Discussion started by: xpukm
1 Replies

6. Solaris

/var/adm/messages (interface turned off/restored) and link up & link down message.

Hi All I am facing an issue with our new solaris machine. in /var/adm/messages root@Prod-App1:/var/tmp# root@Prod-App1:/var/tmp# root@Prod-App1:/var/tmp# cat /var/adm//messages Apr 20 03:10:01 Prod-App1 syslogd: line 25: WARNING: loghost could not be resolved Apr 20 08:24:18 Prod-App1... (0 Replies)
Discussion started by: javeedkaleem
0 Replies

7. Solaris

/var/adm/messages (insterface turned off/restored) and link up & link down message.

Hi All I am facing an issue with our new solaris machine. in /var/adm/messages Apr 22 16:43:05 Prod-App1 in.routed: interface net0 to 172.16.101.1 turned off Apr 22 16:43:33 Prod-App1 mac: NOTICE: nxge0 link up, 1000 Mbps, full duplex Apr 22 16:43:34 Prod-App1 mac: NOTICE: nxge0 link... (2 Replies)
Discussion started by: javeedkaleem
2 Replies

8. Shell Programming and Scripting

Looking for good book on awk

I am not sure if I am posting to the right forum but I would like to buy a book which goes into Awk in detail and covers the most advanced Awk programming techniques. Would anybody be able to recommend a good book? I see plenty of books available on Amazon but I am not sure how detailed they are.... (2 Replies)
Discussion started by: kieranfoley
2 Replies

9. Shell Programming and Scripting

awk to create link, download, and extract in sub-directory

The awk below will create sub-directories in a directory (which is always the last line of file1, each block separated by an empty line), if the number in line 2 (always the first 6 digits in the format xx-xxxx) of file2 is found in $2 of file1. This is the current awk output. If there is a... (0 Replies)
Discussion started by: cmccabe
0 Replies
CROSSPOST(8)						      System Manager's Manual						      CROSSPOST(8)

NAME
crosspost - create the links for cross posted articles SYNOPSIS
crosspost [ -D dir ] [ -s ] [ file... ] DESCRIPTION
Crosspost reads group and article number data from files or standard input if none are specified. (A single dash in the file list means to read standard input.) It uses this information to create the hard, or symbolic, links for cross posted articles. Crosspost is designed to be used by InterNetNews to create the links as the articles come in. Normally innd creates the links but by having crosspost create the links innd spends less time waiting for disk IO. In this mode one would start innd(8) using the ``-L'' flag. Crosspost expects input in the form: group.name/123 group2.name/456 group3.name/789 with one line per article. Any dots in the input are translated into "/" to translate the news group into a pathname. The first field is assumed to be the name of an existing copy of the article. Crosspost will attempt to link all the subsequent entries to the first using hard links if possible or symbolic links if that fails. By default, crosspost processes its input as an INN channel feed written as a ``WR'' entry in the newsfeeds(5) file, for example: crosspost:*:Tc,Ap,WR:/usr/lib/news/bin/crosspost To process the history file and re-create all the links for all articles use: awk <history -F' ' '(NF > 2){print $3}' | crosspost (where the -F is followed by a tab character.) The ``-D'' flag can be used to specify where the article spool is stored. The default directory is /var/spool/news. By default crosspost will fsync(2) each article after updating the links. The ``-s'' flag can be used to prevent this. HISTORY
Written by Jerry Aguirre <jerry@ATC.Olivetti.Com>. SEE ALSO
newsfeeds(5), innd(8). CROSSPOST(8)
All times are GMT -4. The time now is 02:50 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy