Search Results

Search: Posts Made By: Srinraj Rao
5,271
Posted By Srinraj Rao
Thanks for your quick response. My requirement is...
Thanks for your quick response. My requirement is different.

The file contains text as follows.
#test
+abc
-xyz
real

The for loop has to read the file line by line and pass the string in...
5,271
Posted By Srinraj Rao
Grep command to ignore line starting with hyphen
Hi,

I want to read a file line by line and exclude the lines that are beginning with special characters. The below code is working fine except when the line starts with hyphen (-) in the file.
...
Showing results 1 to 2 of 2

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