10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have surely an easy question - but at the moment I do not see the solution.
All what I want is to add the string "/9201" within a file when a line starts with ":47A:".
This is how a file look like:
:3:Space After the... (2 Replies)
Discussion started by: API
2. Shell Programming and Scripting
So I have a file in the form
and I would like it to come out in the form
fjfhchdejhfhfhfhfhfhf (3 Replies)
Discussion started by: viored
3. Shell Programming and Scripting
I have the following file.
IpFile=gmb_dly_ind_sls_20120410133424.txt... (4 Replies)
Discussion started by: mac4rfree
4. Shell Programming and Scripting
I'm trying to figure out how to use sed or awk to delete single lines in a file. By single, I mean lines that are not touching any other lines (just one line with white space above and below).
I want it to look like: (6 Replies)
Discussion started by: slimjbe
5. Shell Programming and Scripting
My question is
I am finding the new.txt file in the directory
I am finding current.txt file in the directory in 2nd time
I am finding fallback.txt in the directory in 3rd time
all with find command
now my question is
let suppose I got all threee files in one directory then I want... (2 Replies)
Discussion started by: anuragpgtgerman
6. Shell Programming and Scripting
I have a requirement with,
Single column alone got splitted into multiple lines.
I require the output as
mean to say those new lines to be... (1 Reply)
Discussion started by: Bhuvaneswari
7. Shell Programming and Scripting
Can someone tell me how I can do this?
Say file1.txt contains:
today is monday
the 22 of
and file2.txt contains:
How do i replace the word NOVEMBER with (5 Replies)
Discussion started by: tuathan
8. Shell Programming and Scripting
I am new to awk and sed, i am working multiline document, i want to make make that document into SINGLE lines based on occurace of string "dwh".
here's the sample of my problem..
dwh123 2563 4562 4236 1236 78956 12394 4552 dwh192 2656 46536 231326 65652 6565 23262 16625623... (5 Replies)
Discussion started by: victor369
9. UNIX for Dummies Questions & Answers
Hi All, I love this site, it helps newbie people like me and I appreciate everyone's help!
Here is my questions.
I am trying to concatenate a single quote into a character/string from a text file for each line (lets say ABC should look like 'ABC').
I tried to use awk print command to do... (1 Reply)
Discussion started by: mrjunsy
10. Shell Programming and Scripting
I am stuck while trying to add a string to multiple lines. Let me try to explain using an example:
correct Output:... (4 Replies)
Discussion started by: bonny