10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
We have a flat file with below data :
^@^@^@^@00000305^@^@^@^@^@^@430^@430^@^@^@^@^@^@^@^@^@09079989530As we can see ^@ is Null character in this file
I want to remove only the first few null characters before string 00000305
How can we do that, any idea. I want a new file without first few... (5 Replies)
Discussion started by: simpltyansh
5 Replies
2. UNIX for Dummies Questions & Answers
Hi All! I would like your assistance with an issue that I have been having with OS X (Snow Leopard 10.6.8) and sending mail through the Terminal.
I had been trying to send mail from Terminal to my GMail account from my home, where I have a Verizon DSL Internet connection routed through a... (0 Replies)
Discussion started by: danielsutton
0 Replies
3. UNIX for Dummies Questions & Answers
Hello,
I am running a program in a terminal.
this program is just printing random words.
I can change the color of each word by entering the first character of the color(for example G for Green).
I want to write a bash code that runs in a different terminal and sends different characters to... (3 Replies)
Discussion started by: alireza6485
3 Replies
4. UNIX for Advanced & Expert Users
I have a huge file with record length around 5000 characters.
There is an ETL tool datastage which is writing this data to the file(AIX server). At position 4095 i have seen NULL Character(^@).
when i am using this command "head -1 file_nm | sed 's/\000//g'" --- the output is displaying... (3 Replies)
Discussion started by: issaq84mohd
3 Replies
5. Shell Programming and Scripting
Hi All,
I have a problem with Null values while reading line by line from a text file. I wrote a shell script to read set of file names from a text file line by line, and zipping the each individual file and copying those zip files into some separate directory, and removing the original file... (3 Replies)
Discussion started by: npk2210
3 Replies
6. Shell Programming and Scripting
hi all
i have script
#!/bin/bash
cd /usr3/prod
grep ERROR /usr3/prod/ind.log > /usr3/prod/ind_err.log
if test -s /usr3/prod/ind_err.log
then
echo "error during process"
else
echo "process succeed"
fi
i want that this message(echo) will be display one time at the top of the screen... (5 Replies)
Discussion started by: naamas03
5 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I would like to use grep to find files which contain NULL characters. I'm not sure how to represent the null character in the grep statement.
Could anyone help please?
Thanks!
Helen :confused: (5 Replies)
Discussion started by: Bab00shka
5 Replies
8. Programming
Hi folks,
Just wondering if anyone knows how to send intr/break key to remote tty (shell), a simple example would be great!
thx (2 Replies)
Discussion started by: andryk
2 Replies
9. UNIX for Dummies Questions & Answers
whats the cmd to send messages using terminal to another computer on our network?
We are running SOlaris CDE (5 Replies)
Discussion started by: korupt
5 Replies
10. UNIX for Dummies Questions & Answers
Does anyone know how to use grep/egrep to find a string that contains a null character?
i.e.: the string looks like this: null0001nullN
well I want to be able to : grep '0001N'
is there a wildcard character or something that I can put in the grep to include the nulls? (3 Replies)
Discussion started by: weerich
3 Replies