Sponsored Content
The Lounge What is on Your Mind? Chat with iBot - Our RSS Robot Girl Who is Zazzybob? What is SED? AWK? Post 63831 by Perderabo on Friday 25th of February 2005 05:04:18 PM
Old 02-25-2005
Why isn't your dot green?
 

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

awk / sed

I have many messages such as the test message below: 00:00000:00021:2002/05/13 13:57:00.51 ERROR:- Test error, my test error!!! I am writing a script in which I need to get everything from the word "ERROR:-" onwards. I normally use awk for these things, but I am not an expert at it so i am... (6 Replies)
Discussion started by: baileyr1
6 Replies

2. What is on Your Mind?

congrats to zazzybob

i definitely want to thank and congratulate zazzybob on becoming a moderator in record time.. ZazzyBob you definitely have skills and hopefully they will continue to grow and spread... thanx for helping me out all those times moxxx68 (1 Reply)
Discussion started by: moxxx68
1 Replies

3. UNIX for Advanced & Expert Users

sed in awk ? or nested awk ?

Hey all, Can I put sed command inside the awk action ?? If not then can i do grep in the awk action ?? For ex: awk '$1=="174" { ppid=($2) ; sed -n '/$ppid/p' tempfind.txt ; }' tempfind.txt Assume: 174 is string. Assume: tempfind.txt is used for awk and sed both. tempfind.txt... (11 Replies)
Discussion started by: varungupta
11 Replies

4. Shell Programming and Scripting

AWk or Sed Help

hi, im trying to some data but only certain ones. like for instance "aaaaaaaaaaaaaa" "\$123 456.52" and i would like the filtered line to be "aaaaaaaaaaaaaa" "\$123456.52" By reading each line and finding the character $ then deleteing any spaces in between $ and the decimal. I tried... (4 Replies)
Discussion started by: vb615
4 Replies

5. Shell Programming and Scripting

sed and awk giving error ./sample.sh: line 13: sed: command not found

Hi, I am running a script sample.sh in bash environment .In the script i am using sed and awk commands which when executed individually from terminal they are getting executed normally but when i give these sed and awk commands in the script it is giving the below errors :- ./sample.sh: line... (12 Replies)
Discussion started by: satishmallidi
12 Replies
TZSELECT(8)						      System Manager's Manual						       TZSELECT(8)

NAME
tzselect - select a time zone SYNOPSIS
tzselect DESCRIPTION
The tzselect program asks the user for information about the current location, and outputs the resulting time zone description to standard output. The output is suitable as a value for the TZ environment variable. All interaction with the user is done via standard input and standard error. ENVIRONMENT VARIABLES
AWK Name of a Posix-compliant awk program (default: awk). TZDIR Name of the directory containing time zone data files (default: /usr/local/etc/zoneinfo). FILES
TZDIR/iso3166.tab Table of ISO 3166 2-letter country codes and country names. TZDIR/zone.tab Table of country codes, latitude and longitude, TZ values, and descriptive comments. TZDIR/TZ Time zone data file for time zone TZ. EXIT STATUS
The exit status is zero if a time zone was successfully obtained from the user, nonzero otherwise. SEE ALSO
newctime(3), tzfile(5), zdump(8), zic(8) TZSELECT(8)
All times are GMT -4. The time now is 07:16 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy