06-13-2006
Quote:
Originally Posted by vino
Sure! It's usually available... I suppose awk would also do the job...
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
1 . Thanks everyone who read the post first.
2 . I have a log file which size is 143M , I can not use vi open it .I can not use xedit open it too.
How to view it ?
If I want to view 200-300 ,how can I implement it
3 . Thanks (3 Replies)
Discussion started by: chenhao_no1
3 Replies
2. Solaris
I have a Sun Ultra 5 that is running Solaris 8. I believe I meet the minimum requirements for Solaris 10 but the Ultra 5 is not on the HCL.
This will be my first ever Solaris upgrade so do I follow the HCL guidelines?
TiA (4 Replies)
Discussion started by: PapaPark
4 Replies
3. Programming
helo I have particular number
lets say 0x56
now thropugh c program how to check this number is hex or not
Regards,
Amit (4 Replies)
Discussion started by: amitpansuria
4 Replies
4. UNIX for Advanced & Expert Users
Hi Gurus,
The requirement is to collect the timestamp of soft links and collect it in a file in the following pattern:
This is the expected output:
Pattern:
MM/DD/YYYY hh:mi:ss filename
Example:
12/26/2008 10:31:09 <Filename>.zip
The closest way I could get was this:
ls... (8 Replies)
Discussion started by: jidsh
8 Replies
5. UNIX for Dummies Questions & Answers
I have a 5000 line config.log file with several "maybe" errors. Any reccomendations on finding solvable problems? (2 Replies)
Discussion started by: NeedLotsofHelp
2 Replies
6. Hardware
Hi all,
Does anybody know how to build a cycle accurate simulator? I've looked at QEMU and SESC simulator, but they are only cycle accurate for the CPU part. I'm looking for a simulator which can estimate the performance including CPU and I/O. For example, when I configure the simulator by SSD... (2 Replies)
Discussion started by: qqkk88
2 Replies
7. Shell Programming and Scripting
list db directory |grep alias |awk '{print "connect to ",$4}'
In a shell script the below line should display output as below
connect to <DATABASENAME>
but its throwing error like
Syntax Error The source line is 1.
The error context is
{print connect to,... (8 Replies)
Discussion started by: rocking77
8 Replies
8. Shell Programming and Scripting
Hi,
I have a file tp.txt having below data
CE2DD,N,5055,16.12.2013,3.114,12195.89,MVR,003388,Web::00000005055,Web Payment
and i am using below code to print the values
for var_amt_pay in `awk -F',' '{ arr += $6} END {for (i in arr) {print i "," arr } }' tp.txt`
do
... (2 Replies)
Discussion started by: ranabhavish
2 Replies
LEARN ABOUT X11R4
urlcoding
URLCODING(3) libbash urlcoding Library Manual URLCODING(3)
NAME
urlcoding -- a Libbash library for encoding and decoding URL's.
SYNOPSIS
urlEncodeString [-l] <STRING>
urlEncodeFile [-l] <FILE>
urlEncodeStream [-l]
urlDecodeString <STRING>
urlDecodeFile <FILENAME>
urlDecodeStream
DESCRIPTION
urlcoding is a collection of functions that convert ASCII-text to standard URL's and vice-versa. The AWK code used is based on code by Heiner
Steven <heiner.steven@odn.de>
The function list:
urlEncodeString Creates a URL from an ASCII string
urlEncodeFile Converts a file into URL-valid text
urlEncodeStream Converts standard input into URL-valid text
urlDecodeString Converts a URL-encoded text back to a plain-text form
urlDecodeFile Coverts URL-encoded text in a file back to plain text
urlDecodeStream Converts URL-encoded standard input to text
Detailed interface description follows.
The [-l] option for the encoding functions should be used when line-feed characters ('
') are to be encoded as well.
All functions print the results of their conversions to standard output.
The exit status of all functions is that of the command 'awk', with '0' for success
FUNCTIONS DESCRIPTIONS
urlEncodeString [-l] <STRING>
Converts STRING - a string of ASCII characters - to URL.
urlEncodeFile [-l] <FILE>
Coverts FILE of URL-encoded text to plain text
urlEncodeStream [-l]
Converts text from standard input to URL-text.
urlDecodeString <STRING>
Converts URL-encoded string STRING back to text.
urlDecodeFile <FILENAME>
Converts the URL-encoded text in FILE to plain text.
urlDecodeStream
Converts the URL-encoded text from standard input to plain-text
AUTHORS
Alon Keren <alon.keren@gmail.com>
SEE ALSO
ldbash(1), libbash(1)
Linux Epoch Linux