I'd like to make a script that I can execute every time I sign on to my linux box that keeps track of the time and allows to me to add a remark to a file. So basically once I log in, I run the script, and it outputs the date and time to a text file (log.txt). But that isn't my problem.
I need... (1 Reply)
Dear Techs,
In the past on a different box (HP) I use to be able to complete something I was typing by entering a portion of the filename in the pwd and I would hit the Esc key and it would match the rest of the filename. I did this without understanding how it was setup.
Now I am on a new... (1 Reply)
Server: IBM p770
OS: AIX 6.1 TL5 SP1
When one of our develoeprs types "bash" on the command line to switch shells, it hangs. For some reason, two bash processes are created....the first bash process spawns a second bash process in the same console, causing a hang. Anyone have any idea what... (2 Replies)
echo "dddd$dddd"|sed 's/$//' will return dddd
echo "dddd$ddd"|tr -d '$' will return dddd
I need to replace it with any other character or just live a blank space instead
Thank you! (8 Replies)
Hi
As a dummy my question is very simple. When typing cw I've read (many times) that a '$' should appear at the end of the word I'm about to change. However, it doesn't, and in my case the word is instantly deleted and so ready to be changed!
Can somebody tell me why this is, or maybe I... (4 Replies)
Hello everyone,
I'm struggling with this command:
awk '!/^\+/{ORS=FS}/^\+/{ORS=RS}1' file1 > file2
What I want to do is to move any line that starts with the + sign 1 up, so its the continuation of the previous.
The above command is messing the whole output, can you please let me know... (8 Replies)
Hello.
Using a bash script , I have a variable name for the file I want to modify
FILE_TO_EDIT="/etc/my_config_file"And I have a variable name for the parameter to change
PARAMETER="fallback_node"
PARAMETER_NEW_VALUE="http://my_server_name.com/new_path"
A config file may contain :
1°)... (2 Replies)
Dear Concern,
Please go through the article
https://www.unix.com/hp-ux/134072-typing-sign-creates-new-line.html
As per the article, we need to initiate below commands. But after creating new session, we face same problem. Please advise.
stty intr "^c"
stty kill "^u"
Please find below... (6 Replies)
Discussion started by: makauser
6 Replies
LEARN ABOUT SUNOS
jconvru
jconvru(7M) STREAMS Modules jconvru(7M)NAME
jconvru - code conversion STREAMS module (Japanese EUC/UTF--8)
SYNOPSIS
#include <sys/types.h>
#include <sys/stropt.h>
#include <sys/conf.h>
ioctl(fd, I_PUSH, "jconvru");
DESCRIPTION
jconvru is a STREAMS module that is available to be pushed onto a stream. Usually, this module has to be pushed onto a stream between ter-
minal circuit module such as ldterm(7M) and STREAMS compatible module such as ttcompat(7M).
jconvru has to be pushed when you operate UTF-8 data. It converts up stream for Japanese EUC into UTF-8 and passes high module. It also
converts down stream for UTF-8 into Japanese EUC and passes low module.
IOCTLS
jconvru processes the following ioctls:
EUC_OXLON Start performing code conversion between Japanese EUC and UTF-8 for I/O stream.
EUC_OXLOFF Stop performing code conversion between Japanese EUC and UTF-8 for I/O stream.
SEE ALSO jtty(1), setterm(1), stty(1), streamio(7I), jconv7(7M), jconv8(7M), jconvrs(7M), jconvs(7M), jconvu(7M), ldterm(7M), ptem(7M)NOTES
When you use jconvru with jconvu(7M), jconvs(7M), jconv7(7M), or jconv8(7M) at once and `raw' is specified by stty(1), code convert func-
tion automatically become off without specification by EUC_OXLON / EUC_OXLOFF.
SunOS 5.10 13 Aug 1998 jconvru(7M)