10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I worked for almost a half-day for the replacement of some text automatically with script. But no success.
The problem is I have hundred of files, which need to be replaced with some new text. It's a painful work to work manually and it's so easy to do it wrong.
I... (2 Replies)
Discussion started by: liuzhencc
2. Shell Programming and Scripting
I would like to help the masters ... I have a file with the entry below and would like a script for that output:
001 1 01-20152142711532-24S 1637909825/05/2015BAHIA SERVICOS R F, ... (1 Reply)
Discussion started by: He2
Good Day Every one
I have a problem finding and replacing text in some large files that will take a long time to manually edit.
Example text file looks like this
#Example Large Text File
What im trying to do is to edit all the... (4 Replies)
Discussion started by: linuxjunkie
4. UNIX for Advanced & Expert Users
My requirement is to get test between two words START & END, something like html tags
Eg. Input file:
Line8 (7 Replies)
Discussion started by: konerusuneel
5. Shell Programming and Scripting
Can somebody help me out and provide me with a SED or AWK solution that converts TO_DATE CLAUSE -> TIMESTAMP
I need to keep the PARTION value (HISTORY_20110417) and DATE/TIME value (2011-04-18 00:00:00) the same for every line
PARTITION HISTORY_20110417 VALUES LESS THAN (TO_DATE('... (3 Replies)
Discussion started by: BeefStu
6. Shell Programming and Scripting
I have some hundreads of files like this with the different words and I want to remove the comma before the bracket and also I have to remove the comma before FROM word.
I am trying to use this command :
awk '... (5 Replies)
Discussion started by: rajshashi
7. Shell Programming and Scripting
I am just beginning with sed and awk and understand that they are "per" line input. That is, they operate on each line individually, and output based on rules, etc.
But I have multi-line text blocks that looks as follows, and wish to ONLY extract the text between the first hyphen (-) and the... (13 Replies)
Discussion started by: bulgin
8. Shell Programming and Scripting
I'm trying to extract automatically opening hours from a website.
The page displaying the schedules is
with xxx going from 101 to 174
I managed to get the following output :
le lundi de 10.30 à... (4 Replies)
Discussion started by: chebarbudo
9. Shell Programming and Scripting
I have a file having record on in 1 line....
I want every 400 characters in a new line...
means in 1st line 1-400
in 2nd line - 401-800 etc
pl help. (12 Replies)
Discussion started by: clx
10. UNIX for Dummies Questions & Answers
Having trouble with sed. I searched the board and found some stuff, but still unclear.
I have a file named "userfile" which stores the users info in this form: email:username:password:
I want the user to be able to change their password.
i tried with sed s/oldpass/newpass/g... (2 Replies)
Discussion started by: primal