Search Results

Search: Posts Made By: SaltyDog
14,707
Posted By SaltyDog
This is exactly what I was looking for but I...
This is exactly what I was looking for but I can't get it working. I tried the above and then amended it slightly to the following


awk -v start='CS02010002' -v fstop="CS95869005" ...
14,707
Posted By SaltyDog
Unfortunately we don't have ruby/glark/tac etc...
Unfortunately we don't have ruby/glark/tac etc installed which is why I was looking towards an sed/awk solution.

Sorry if the question was more confusing than necessary.

Basically here's some...
14,707
Posted By SaltyDog
Os is Sun and tac is not available.
Os is Sun and tac is not available.
14,707
Posted By SaltyDog
Search backwards to certain string
Hi,
I'm using the following to do a backwards search of a file for a string

sed s/^M//g FILE | nawk 'c-->0;$0~s{if(b)for(c=b+1;c>1;c--)print r[(NR-c+1)%b];print;c=a}b{r[NR%b]=$0}' b=10 a=0...
2,360
Posted By SaltyDog
Vi Search
Hi,
Is it possible to search in vi for a string which starts in a particular column position ?. For example, I'm browsing a cobol program and want to find the code in a particular cobol section...
Showing results 1 to 5 of 5

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