10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a log file with logs such as
01/05/2017 10:23:41 : file.log.38: database error, MODE=SINGLE, LEVEL=critical, STATE: 01170255 (mode main
how can i use perl to extract the 8-digit number below from the string
Thanks (7 Replies)
Discussion started by: james2009
2. UNIX for Dummies Questions & Answers
My input is as below :
From the above input I want to extract the file names only .
Basically I want to... (5 Replies)
Discussion started by: IshuGupta
3. Shell Programming and Scripting
I have a very large data file with several hundred columns and millions of lines.
The important data is in the last set of columns with variable numbers of tab delimited fields in front of it on each line.
Im currently trying sed to get the data out - I want anything beetween :RES and... (4 Replies)
Discussion started by: Manchesterpaul
4. Shell Programming and Scripting
How to add trailer record at the end of the flat file in the unix ksh shell scripting
can you please let me know the procedure
Srikanth (3 Replies)
Discussion started by: srikanth_sagi
5. Shell Programming and Scripting
Hi there, im sure this is really simple but i have some strings like this
nge3and i want to create two variables ($DRIVER and $INSTANCE). the first one containing the alpha characters that make up the first part of the string, e.g. e1000g or nge and the... (9 Replies)
Discussion started by: rethink
6. Shell Programming and Scripting
I am new to world on unix scripting so any assistance would be gratefully appreciated,
I am trying to write a script which reads through a file, reads in line by line, searches for a pattern, copies string after it and then to do a search and replace elsehwere in the line,
so the... (7 Replies)
Discussion started by: LonJ_80
7. Shell Programming and Scripting
i have such string stored in a variable
var1 = 00000120
i want the o/p
var1 = 120
is it possible to have such o/p in ksh/bash ...
thanx in advance for the help
sonu (3 Replies)
Discussion started by: sonu_pal
8. Shell Programming and Scripting
Here is what I am trying to do.
1) say I have a file with below strings
2) I want to get the below output.
(- if there is any digit at the end of the string, I need to remove it)
(- Any... (3 Replies)
Discussion started by: shail_boy
9. Shell Programming and Scripting
I would like to learn shell scripting in UNIX. Can any one please give me the support and share the information/documents with me.
If any documents please post it to email@example.com
Thanks in advance...!!! (3 Replies)
Discussion started by: aswani_n
10. Shell Programming and Scripting
I have a string like xxxxxx44. What's the best way to extract the digits (one or more) in a ksh script?
Thanks (6 Replies)
Discussion started by: offirc