Search Results

Search: Posts Made By: dis0wned
1,852
Posted By vgersh99
try removing print ":"$2":";
try removing print ":"$2":";
1,418
Posted By Don Cragun
OK. I get it. You don't want to tell us what...
OK. I get it. You don't want to tell us what you're trying to do. You just want us to guess at what you're trying to do by showing us code that doesn't work. Showing us more code that apparently...
2,644
Posted By MadeInGermany
@bakunin, the var// / modifier exists in bash or...
@bakunin, the var// / modifier exists in bash or zsh or ksh93 (and works the same).

But a "wanted output" would clarify things.
I guess you want to delete embedded strings .txt OR .log from the...
3,018
Posted By MadeInGermany
With a little modification you can make it work: ...
With a little modification you can make it work:
sed -e 's/, IP address: /, IP address: /' -e 's/, IP address: / /g' newt4Initially you cannot use the /g search because the first string...
5,955
Posted By MadeInGermany
The paranthesis increase readability, especially...
The paranthesis increase readability, especially with such a long concatenation.
The OFS make sense because the string is destined for printing. An intuitive thing, at least for me.
3,339
Posted By vgersh99
I'd recommend looking at the bottom of this...
I'd recommend looking at the bottom of this thread for More UNIX and Linux Forum Topics You Might Find Helpful threads.
Also look a simple menu building script as a sample of using select and case:...
2,332
Posted By Scott
Having added code tags to the data as well, I see...
Having added code tags to the data as well, I see that file1 has a lot of whitespace (spaces and/or tabs) in the fields. If you're using -F to specify a very specific field separator (,), then the...
3,376
Posted By vgersh99
Did you do the same to file1? Did you specified...
Did you do the same to file1?
Did you specified NEW/converted files on the awk's cli?
Looks like you have a trailing , in file1?

Also, please get accustomed to used code tags in your posts!
3,376
Posted By Don Cragun
And what command did you use that produced the...
And what command did you use that produced the output you showed us in post #11?

In addition to what RudiC has already said, we also have to assume that you realize that the sanitized output you...
3,376
Posted By RudiC
Did you check your file for DOS line terminators...
Did you check your file for DOS line terminators (<CR> = ^M = 0x0D)?
Showing results 1 to 10 of 10

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