Search Results

Search: Posts Made By: TAPE
1,351
Posted By TAPE
Thanks very much Yoda ! Did the trick :)
Thanks very much Yoda ! Did the trick :)
1,351
Posted By TAPE
Check for entry of specific pattern
Hey Guys and Gals,

I am having trouble with what I thought shouldn't be hard..

In a script I am working on there is a need to enter a MAC address.

MAC addresses are formatted ; ...
Forum: Linux 07-08-2013
1,335
Posted By TAPE
@MadeInGermany Works great as well, thanks. ...
@MadeInGermany

Works great as well, thanks.

I am always blown away by how easy you guys make this all look..

Thanks for the replies, my query solved :D
Forum: Linux 07-08-2013
1,335
Posted By TAPE
Hey Yoda, That looks like it will do the...
Hey Yoda,

That looks like it will do the trick ! Great, many thanks.

Now to dissect it and figure out what does what ;)
Forum: Linux 07-08-2013
1,335
Posted By TAPE
Hey RudiC, Well, one way or the other, what...
Hey RudiC,

Well, one way or the other, what I am looking for is some guidance in the correct way one could use the usual linux commands (grep / awk etc) to accomplish the listing as per my...
Forum: Linux 07-08-2013
1,335
Posted By TAPE
[Solved] Combining columns from different files
Hey Guys & Gals,

I am stuck with the following ;

I have 2 text files, each containing 2 columns.

My goal is to have a column from the 2nd file placed inbetween the columns in the first...
3,228
Posted By TAPE
Thanks ! Using printf "%2---%s\n" "$i"...
Thanks !

Using

printf "%2---%s\n" "$i" "test"



for i in {1..15} ; do printf "%2d---> %s\n" "$i" "test" ; done
1---> test
2---> test
3---> test
4---> test
5---> test
6--->...
3,228
Posted By TAPE
Hey there, Thanks for the response, what I...
Hey there,

Thanks for the response, what I was hoping to achieve was to avoid a larger
indentation when the counter reaches double values.

For instance, when just using \t it is printed as I...
3,228
Posted By TAPE
Filling tab space with dots or dashes
Hey Guys & Gals !

My script is creating a numbered list and I would like to have the numers and
results spaced apart by a tab.

Now to make sure it is clear which number corresonds with...
1,226
Posted By TAPE
That looks like it does it ! Thanks a lot...
That looks like it does it !

Thanks a lot for the help and now I have a better idea on
how such things are accomplished.

Thanks again, have always gotten awesome help here :)
1,226
Posted By TAPE
Limit reoccurrance of characters in lines
Hey guys and gals,

Working on a script to limit the reoccurrance of characters in a line.

sed "/\(.\).*\1/d" -i file.txt
sed "/\(.\).*\1.*\1/d" -i file.txt
sed "/\(.\).*\1.*\1.*1/d" -i...
1,697
Posted By TAPE
Printing all 'case' variations of a word
Hey Guys & Gals,

I am trying to figure out how one would go about printing all
possible variations of letter cases in a given word.

So if for instance given the input "test123"
output...
1,457
Posted By TAPE
Both the above options seem to work great ! :D ...
Both the above options seem to work great ! :D

Thanks Shell_Life & vgersh99, your expertise greatly appreciated !

I have now ordered a book on sed / awk ... its about time I get better at...
1,457
Posted By TAPE
Only print lines with 3 numeric values
Hey guys & gals,

I am hoping for some advice on a sed or awk command that will
allow to only print lines from a file that contain 3 numeric values.

From previous searches here I saw that...
1,922
Posted By TAPE
Well it is great and works well, thanks again for...
Well it is great and works well, thanks again for your time and expertise :D

Much appreciated !
1,922
Posted By TAPE
Heya radoulov, many thanks for your prompt...
Heya radoulov, many thanks for your prompt response.

Tried it out and works great, thanks for the great answer !

Have to admit a lot of what is written there is waaaay out of my comfort zone,...
1,922
Posted By TAPE
Appending lines from an existing list to each line in another existing list
Evening all !

I would like to ask your expertise on how to accomplish the following ;

I have 2 lists, and would like each line from list2 to be appended to each line in list1, resulting in...
5,182
Posted By TAPE
Thanks ygemici, Your help has been awesome...
Thanks ygemici,

Your help has been awesome !

My query has been answered ;) I have a few others, however will first play around with the
new-found knowledge and if necessary revert after...
5,182
Posted By TAPE
Thats great guys, thanks a lot ! Just another...
Thats great guys, thanks a lot ! Just another quick query, could I ask you to give quick explanation on what the;
\1\{2,\}
is enabling so I can work on it and if necessary change to...
5,182
Posted By TAPE
Thanks alot for your great response ! You guys...
Thanks alot for your great response ! You guys here rock ;)
5,182
Posted By TAPE
Thanks for the quick response Guru ! Looks to be...
Thanks for the quick response Guru ! Looks to be working great :) Could you also perhaps advise what would an option if there were special characters in the list as well ? Is that possible with sed...
5,182
Posted By TAPE
deleting words in list with more than 2 identical adjacent characters
Morning Guys & Gals,


I am trying to figure out a way to remove lines from a file that have more than
2 identical characters in sequence..


So if for instance the list would look like ;
...
5,408
Posted By TAPE
Ah, that does makes perfect sense.. my mind is...
Ah, that does makes perfect sense.. my mind is obviously not functioning right just yet :)

Will play some more, thanks for your prompt response rdcwayx !
5,408
Posted By TAPE
"binary operator exected" problem
Hey guys/gals,

Am having trouble getting an 'if statement' to play nice..


I am playing with a script and need 'if' to check whether "y" or "Y" has been
entered and if not to exit.
In...
9,283
Posted By TAPE
Thanks for the response ! It certainly makes...
Thanks for the response !

It certainly makes the results go haywire....
Showing results 1 to 25 of 30

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