Search Results

Search: Posts Made By: fadista
2,770
Posted By fadista
Thanks for the fast reply. Since I am a UNIX...
Thanks for the fast reply. Since I am a UNIX newbie, can you write the full command?

Thanks again.

---------- Post updated at 11:48 AM ---------- Previous update was at 11:46 AM ----------
...
2,770
Posted By fadista
find positions of a letter in a text file
Hi,

I would like to know how can I get all the positions of a letter, let say letter C in a text file.

sample input file:
hcck
pgog
hlhhc

desired output file:
2
3
13

Many thanks!
Showing results 1 to 2 of 2

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