Search Results

Search: Posts Made By: hariniiyer300
1,784
Posted By hariniiyer300
Many thanks Mr. Don Cragun. My current...
Many thanks Mr. Don Cragun. My current requirement is if the line before the last line is also 0 , then I would want to print the line which has non -zero value in it. And as noted that that code...
1,784
Posted By hariniiyer300
Thanks to everyone for the reply. The awk command...
Thanks to everyone for the reply. The awk command by RudiC solved the problem.

Many thanks again for the prompt response :)
1,784
Posted By hariniiyer300
Thanks for the reply R.Singh. I am getting...
Thanks for the reply R.Singh.

I am getting the output as expected when the last line is 0. But if the last line is not zero, am not getting any output from the command. I would want to display...
1,784
Posted By hariniiyer300
Read the line from the last and display the one which is non-zero
Hi All,

My requirement is this. Am trying to find a one liner unix command, which will check the last line of the file for 0. If it is zero, it would pick the previous line, else it should...
6,437
Posted By hariniiyer300
Thank you! Your tips site is great. I was looking...
Thank you! Your tips site is great. I was looking for something like this actually.
6,437
Posted By hariniiyer300
OS is windows. I use Cygwin ( A unix terminal for...
OS is windows. I use Cygwin ( A unix terminal for windows) to practice Unix.

When i try this, I get the txt file with some unreadable characters. And I just want to organize the output to a...
6,437
Posted By hariniiyer300
Am using bash sh. Am running cygwin tool in...
Am using bash sh. Am running cygwin tool in windows to practice unix.

Here is the output:
-bash: col: command not found
Error executing formatting or display command.
System command (cd...
6,437
Posted By hariniiyer300
Thank you for the reply.. I still get some...
Thank you for the reply.. I still get some special characters and it is not in readable format in txt files. How to remove it?
6,437
Posted By hariniiyer300
man command output to a txt file
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!

1. The problem statement, all variables and given/known data:

I am...
Showing results 1 to 9 of 9

 
All times are GMT -4. The time now is 11:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy