10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi I have 2 different password entries in 2 different files for the same user.
file 1 -
file 2 -
file 1 is having correct passwd entry where as file 2 is wrong.
Now, i want to compare... (3 Replies)
Discussion started by: kumar85shiv
2. Shell Programming and Scripting
I have a data like this in a file.
I want replace the date(1st column) of all records.
Ex: 05/08/2017 to 04/02/2017
Please use CODE tags when displaying sample input, sample output,... (1 Reply)
Discussion started by: Artlk
3. UNIX for Dummies Questions & Answers
I'm here again asking for your precious help.
I'm writing some code to convert csv files to html.
I want to highlight header and also I want to have rows with alternate colors.
So far this is my work###Let's format first line only with some color
cat $fileIN".tmp1" | sed '1... (7 Replies)
Discussion started by: emare
4. Shell Programming and Scripting
This is for AIX 6.1, I've a flat file and the format is like this
I've to search BEGIN and replace it with the following 4 lines
For x in 1..1
Similarly I've to search END and replace it with the... (7 Replies)
Discussion started by: Mukul Sharma
5. Emergency UNIX and Linux Support
I want to replace 150th character of all the lines in a file using sed or awk...
searched the forums but didn't find exact answer (9 Replies)
Discussion started by: greenworld123
6. Shell Programming and Scripting
Can anyone help me?
I need to replace the letters (A, B, C..) of the second column in this file by a number i.e. 1.
0123456 0A123 0003355 Marion
1234567 0B117 0003388 Anthony
1112333 0C345 0459877 Ann
0123456 01123 0003355 Marion
1234567 ... (3 Replies)
Discussion started by: Lilu_CK
7. Shell Programming and Scripting
Greetings UNIX folks,
I am running a tcsh script and trying to replace the last character of a file with the number 0. I know that the last character of the file will always be 1, but I only want to replace the last character.
... (2 Replies)
Discussion started by: TheSMan5
8. Shell Programming and Scripting
Can someone help me to write a script / command to read in a file, character by character, replace any unknown ASCII characters with space. then write out the file to a new filename/
Thanks! (1 Reply)
Discussion started by: raghav525
9. Shell Programming and Scripting
I have file contains the following information.
chem00s4.mis.amat.com ] Critical 3/21
chem00s4.mis.amat.com ] Normal 3/22
chem00s4.mis.amat.com ] Normal 3/23
chem00s4.mis.amat.com ] Normal 3/24
chem00s4.mis.amat.com ] Critical 3/25... (2 Replies)
Discussion started by: ntgobinath
10. Shell Programming and Scripting
I knew this isn't a new issue, but couldn't find any similar threads. So, I have to bother you. Here is my input file (genomic data). The file has many sessions, each session seperated by //. Within eash session there is only one ID and GN line.
ID 3HAO_HUMAN STANDARD; ... (4 Replies)
Discussion started by: mskcc