10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
I have a txt file with a list of error messages in a xml tag format, and each error message is separated with a identifier(endresult).Need to split that and copy and create a new html file.Error message has some special character. how to escape the special character and insert my data into the... (7 Replies)
Discussion started by: DevAakash
7 Replies
2. Shell Programming and Scripting
Hi I have a text file with lines beginning with 71303, 71403, 71602,
I need to copy the 10 digit text at position 30 on lines beginning with 71303 (5500011446) to position 99 on every line beginning with 71602 (see example below),
There may be many 71303 lines but I need the text copying to... (2 Replies)
Discussion started by: firefox2k2
2 Replies
3. Shell Programming and Scripting
Dear all,
I get a file which is probably in hexadecimal character which i have to load in oracle. oracle is unable to process the original file but when i copy the content into notepad it works fine.
How can i achieve in unix to copy content of file into .txt file instead of cp command as cp... (23 Replies)
Discussion started by: guddu_12
23 Replies
4. Shell Programming and Scripting
Hi,
I have a files in a directory as below :-
ls -1
mqdepth-S1STC02
proc-mq-S1STC01
proc-mq-S1STC02
proc-mq-S1STC03
Whereever i have S1STC i need to copy them into new file with file name S2STC.
expected output :-
ls -1
mqdepth-S2STC02
proc-mq-S2STC01
proc-mq-S2STC02... (3 Replies)
Discussion started by: satishmallidi
3 Replies
5. UNIX for Dummies Questions & Answers
Hi.
I need to write a script that will allow me to copy data from one position in a line to another position while changing the first 2 bytes of the data to a constant. Here is an example of a line of data before and what it needs to look like after. there are about 200 lines in the file.
... (1 Reply)
Discussion started by: wlb_shore_user
1 Replies
6. UNIX Desktop Questions & Answers
I have a file called part1.pdb...contents are:
ATOM 1 N SER 1 -10.295 -8.909 10.913 1.00 0.00
ATOM 2 H1 SER 1 -10.230 -8.214 10.183 1.00 0.00
ATOM 3 H2 SER 1 -9.558 -8.745 11.584 1.00 0.00
ATOM 4 H3 SER 1 -11.255 ... (1 Reply)
Discussion started by: kanikasharma
1 Replies
7. Shell Programming and Scripting
Hi Guys
I want to write a script which search mail with subject line and after that I want the mail content in a file
please help guys.
Thanks
Atul Singh (3 Replies)
Discussion started by: atul9806
3 Replies
8. Shell Programming and Scripting
Hi ,
I need your kind help for my below requirement
I need to copy and entire txt file to a certain position to the target file .
Source file has 3 lines and it has to be copied to the target file in position from line 10 to 12.
Thanks for your support (1 Reply)
Discussion started by: Pratik4891
1 Replies
9. UNIX for Dummies Questions & Answers
How to copy entire file content into another file being in last line mode of vi ?
---------- Post updated at 10:07 AM ---------- Previous update was at 09:56 AM ----------
Got it :
:1,30w file.txt (1 Reply)
Discussion started by: presul
1 Replies
10. Shell Programming and Scripting
Hi i have a file (file1)with this content:
1.2.3.10.in-addr.arpa
and a second file (file2) with a content wich have 8 Columns
if a do a
awk '{print $8}' file2
i become this output:
,'10.3.2.1.',
So i want to replace only the 10.3.2.1. in file2 (column 8) with the information... (8 Replies)
Discussion started by: tuxus
8 Replies