×
UNIX.COM Login
Username:
Password:  
Show Password






👤
Admin Notice

Showing results 1 to 25 of 500
Search took 0.09 seconds.
Search: Posts Made By: wisecracker
Forum: What is on Your Mind? 11 Hours Ago
Replies: 8
Views: 139
Posted By wisecracker
Hi Neo... As you know I usually view signed...

Hi Neo...

As you know I usually view signed out, as an outsider the first screen in both Safari and Firefox is this and the top left hand close 'X' does not work...
See image...
Forum: UNIX for Beginners Questions & Answers 1 Day Ago
Replies: 13
Views: 219
Posted By wisecracker
Well your BYTE is much more complex than that! ...

Well your BYTE is much more complex than that!
You meant CHARACTER, BUT, take a look at your file snippet:
#!/bin/bash
text='MDQ ŸD201803132018031400
MDQ "„201707112018071100
MDQ...
Forum: What is on Your Mind? 1 Day Ago
Replies: 5
Views: 167
Posted By wisecracker
RudiC reaches over 4000 thanks in 6 years.

Congratulations.

Nice one RudiC. That is some going, well done!

Bazza.
Forum: UNIX for Beginners Questions & Answers 1 Day Ago
Replies: 13
Views: 219
Posted By wisecracker
I am making an assumption that you are looking...

I am making an assumption that you are looking for ISO-8859-1, 8 bit extensions where the extended characters are NOT like Code Page 437.

You could try something like 'hexdump' to get a...
Forum: What is on Your Mind? 2 Days Ago
Replies: 1
Views: 136
Posted By wisecracker
Guido van Rossum resigns as Python Leader...

Yup it's true:

[python-committers] Transfer of power (https://mail.python.org/pipermail/python-committers/2018-July/005664.html)

This will put Python development in disarray.
Which reminded me...
Forum: What is on Your Mind? 4 Days Ago
Replies: 14
Views: 398
Posted By wisecracker
Ha ha, wish I was that wealthy... ;oDD

Ha ha, wish I was that wealthy... ;oDD
Forum: What is on Your Mind? 4 Days Ago
Replies: 14
Views: 398
Posted By wisecracker
Superb... The colours are fine and the size...

Superb...

The colours are fine and the size of the fonts good for people like me whose eyes are not so good as they once were. <thumbs up>
Forum: What is on Your Mind? 4 Days Ago
Replies: 14
Views: 398
Posted By wisecracker
Hi Neo... Yes; brill'...

Hi Neo...

Yes; brill'...
Forum: UNIX for Beginners Questions & Answers 4 Days Ago
Replies: 5
Views: 160
Posted By wisecracker
Hi himanshupant... Longhand, OSX 10.13.5,...

Hi himanshupant...
Longhand, OSX 10.13.5, default bash terminal.
Last login: Wed Jul 11 16:02:47 on ttys000
AMIGA:barrywalker~> echo '456 /home/fgg/abdc.txt
> 3567 /home/fdss/vfgb.txt
> 23...
Forum: What is on Your Mind? 4 Days Ago
Replies: 14
Views: 398
Posted By wisecracker
Love it. Large entry fields for easy viewing....

Love it.
Large entry fields for easy viewing. <thumbs up>
Just one minor point but not important a temporary button to check the text of one's password to aid in one's own error correction before...
Forum: Shell Programming and Scripting 5 Days Ago
Replies: 4
Views: 239
Posted By wisecracker
Hi kmanivan82... Assuming bash or similar. ...

Hi kmanivan82...

Assuming bash or similar.

Try: if [[ "${x}" == "${y}" ]] instead.
Forum: Shell Programming and Scripting 1 Week Ago
Replies: 2
Views: 471
Posted By wisecracker
I think RudiC will have discovered one basic...

I think RudiC will have discovered one basic error but i don't understand why you have opted for backticks for your chk_refresh=`cat $LOGDIR/Erefresh.log|grep "ORA-"` yet use $(date) in the...
Forum: OS X (Apple) 2 Weeks Ago
Replies: 2
Views: 679
Posted By wisecracker
Thanks Corona688... I thought that changing ...

Thanks Corona688...

I thought that changing LANG would change the DEncoding for code inside a script.
Changing the DEncoding via the Terminal Preferences works a treat but that defeats the...
Forum: UNIX for Beginners Questions & Answers 2 Weeks Ago
Replies: 8
Views: 217
Posted By wisecracker
Debug on what? Python tracebacks are ridiculously...

Debug on what? Python tracebacks are ridiculously accurate and would point out any syntax AND some programming errors, so......
You can't possibly be using Python 2.x.x as you are using print...
Forum: UNIX for Beginners Questions & Answers 2 Weeks Ago
Replies: 8
Views: 217
Posted By wisecracker
Hi haribabu2229... Satisfy my curiosity, I...

Hi haribabu2229...

Satisfy my curiosity, I am assuming this is Python 3.x.x code.
if it is then how did you get this section to work at all without a major traceback error?
for host in...
Forum: OS X (Apple) 2 Weeks Ago
Replies: 2
Views: 679
Posted By wisecracker
Unicode encoding and decoding, OSX 10.13.5.

I am struggling here to understand......
The default encoding.
See photo 1.
Why does this NOT work?
#!/bin/bash
# Code for OSX 10.13.5. default UNICODE encoding.
echo""
echo "The default...
Forum: Shell Programming and Scripting 4 Weeks Ago
Replies: 10
Views: 674
Posted By wisecracker
Hi pchang... First observations are: ...

Hi pchang...

First observations are:

You seem to have a flat file of pure spaces, ASCII character 0x20.
The printout is little endian.
The file has 2 occasions of a WINDOWS style <CR><NL>...
Forum: Shell Programming and Scripting 4 Weeks Ago
Replies: 11
Views: 455
Posted By wisecracker
Hi primo102... Just an observation and...

Hi primo102...

Just an observation and slightly off topic and assumes bash.
I have no idea which OS you are using but there are now various Linux flavours that use terminal __windows__ of varying...
Forum: What is on Your Mind? 05-31-2018
Replies: 12
Views: 535
Posted By wisecracker
Hi Neo... Good one, I only noticed one...

Hi Neo...

Good one, I only noticed one error:

Data Logging paragraph:
"""
UNIX.COM also users this information
"""

Should read:
Forum: UNIX for Beginners Questions & Answers 05-29-2018
Replies: 13
Views: 462
Posted By wisecracker
I was well aware of the situation but he did...

I was well aware of the situation but he did stress that he wanted it in UNIX format in an earlier post.
Good point though, but it is just as easy to put '\r\n's back if that becomes a necessity.
Forum: UNIX for Beginners Questions & Answers 05-29-2018
Replies: 13
Views: 462
Posted By wisecracker
Hi geomarine... Think of your problem and...

Hi geomarine...

Think of your problem and how to get round it.
You want a single file in UNIX format.

Here is a DEMO of your two files:
#!/bin/sh
# All longhand to see the sequence of...
Forum: Shell Programming and Scripting 05-28-2018
Replies: 3
Views: 334
Posted By wisecracker
Again I have no idea why so convoluted a method...

Again I have no idea why so convoluted a method as your function:
DEMO:
#!/usr/bin/python2.7

mylist = [ "hello", "you", "are", "so", "cool" ]

STRING = ' '.join(mylist)
NEWSTRING =...
Forum: Shell Programming and Scripting 05-27-2018
Replies: 3
Views: 334
Posted By wisecracker
Hi skysmart... I have no idea what you are...

Hi skysmart...

I have no idea what you are trying to do but your function is not called.
I guess you are trying to put that function in the interpreter namespace for other uses.

The function...
Forum: What is on Your Mind? 05-19-2018
Replies: 2
Views: 257
Posted By wisecracker
The BOFH...

I was in converstion with a friend and got talking about getting help from centres that are supposedly the experts at a particular field WRT to their own item that they have sold. This is usually...
Forum: Shell Programming and Scripting 05-17-2018
Replies: 14
Views: 505
Posted By wisecracker
H srini... emp|^^|ename|^^|sal|^^|refname ...

H srini...
emp|^^|ename|^^|sal|^^|refname
"PM"|^^|"R""A""M"|^^|100|^^|"X"""YZ"
"RM"|^^|"PR
RED""
ORANG""
SRI"|^^|500|^^|"ABCD"
"AM"|^^|"""MAR"""|^^|200|^^|"ABC"""
Just an observation here, on...
Showing results 1 to 25 of 500

 


All times are GMT -4. The time now is 02:44 AM.

Unix & Linux Forums Content Copyright©1993-2018. All Rights Reserved.