Search Results

Search: Posts Made By: animbane
17,350
Posted By animbane
Try this out ... cat inputFile|sed 's/...
Try this out ...

cat inputFile|sed 's/ [a-zA-Z0-9]*[^a-zA-Z0-9][^a-zA-Z0-9]*[a-zA-Z0-9]* / /g'|sed 's/[ ][a-zA-Z0-9]*[^a-zA-Z0-9 ][^a-zA-Z0-9 ]*[a-zA-Z0-9]*//g'
1,820
Posted By animbane
May be this is what you are looking for:
May be this is what you are looking for:

#!/bin/awk -f
{
limit=5+$1;
firstUnit=$1;
while (firstUnit<limit) {
print firstUnit,$2;
firstUnit=firstUnit+1;
}
}
Showing results 1 to 2 of 2

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