Search Results

Search: Posts Made By: gio001
Forum: AIX 03-29-2014
3,112
Posted By gio001
I cannot get the xterm window to be typed in...
I cannot get the xterm window to be typed in properly ..... I can paste the $TERM in it bu I am not successful in getting to press the enter key in that window .....

---------- Post updated at...
Forum: AIX 03-28-2014
3,112
Posted By gio001
Xming XTERM Emulation
Hello, everyone.
I have successfully installed Xming and I am using Putty to connect to AIX 6.1. I am able to run xclock etc and they display graphically well, when I execute xterm I am getting a...
1,272
Posted By gio001
Thanks, that was it ..... by putting in -b ""...
Thanks,
that was it ..... by putting in -b "" (for email empty body) it works like a charm! The body of the email is empty and I get an attachment showing. Thanks Perderabo, Corona688, and all, you...
1,272
Posted By gio001
Mimesender (Perderabo): no attachment in email message
Hello, all,
I have been trying to use what Perderabo has given to send attachment via email., but I am not getting the attachments, what I see on the receiving email system are the attachments...
3,722
Posted By gio001
I thought so, yet it does not it just hangs and I...
I thought so, yet it does not it just hangs and I have to ctrl-c out of it ..... what could be causing this, is my format right?
3,722
Posted By gio001
Short circuit if
Hello everyone,
just wondering if this type of if condition will execute properly.
Suppose I have a script with two functions in it called abc and def:
is this code valid, or is there a better way...
14,920
Posted By gio001
Just curious: Is there anyway to get something...
Just curious:
Is there anyway to get something 'like' this to work, where the var is used for the / / construct ?
awk -v var="TestString" '/ var /' file
Any suggestion is appreciated.
14,920
Posted By gio001
In other words, my question is about how to write...
In other words, my question is about how to write an awk statement that will use the variable and use it in the form of a statement like:
awk -v var="TestString" '/ var /' file
to achieve...
14,920
Posted By gio001
Variable filtering in awk
Hello all,
can you explain why this filter does not work, it prints all the lines in the file:
awk -v sel="TestString" 'sel' file while these work:
awk '/TestString/' file
awk -v...
3,500
Posted By gio001
BOTH pipe and file(s) into awk
Hello all,
quick question:
is it possible to pass input into AWK BOTH with a pipe AND a file at the same time, something like this:

command .......|awk '.................' FILEIN > fileout

...
5,227
Posted By gio001
Input buffer and READ
Hello everyone,
Can someone please explain the input buffer behaviour for the read command in ksh93 on AIX?
I have 'googled' for weeks now, and did not find a satisfactory answer or solution to my...
1,521
Posted By gio001
Embed tcl in ksh93 script
Hello everyone,
I am trying to embed some tcl code inside a ksh93 script but I am not having any success.
I even tried the simplest of code, something like this:
.
.
jk=$(echo $(tcl << |...
2,183
Posted By gio001
I do not think I can use decimals .... ksh[22]:...
I do not think I can use decimals ....
ksh[22]: read: -t: numeric.
timeout argument expected
Usage: .
read [-Aprs] [-d delim] [-u filenum] [-t timeout] [-n nbytes] [name...].
2,183
Posted By gio001
When I try the -t0 -n1 options to the read then I...
When I try the -t0 -n1 options to the read then I can only exit by CTRL+C. ...
Thanks
2,183
Posted By gio001
Timing READ command - any key to exit
Hello everyone,
I would like some help on an issue I have related to the read command with ksh93 (Unix AIX).
I want to implement a 'press any key to exit' scenario.
I have the following code:
...
1,676
Posted By gio001
I response to last comment: pressing return when...
I response to last comment: pressing return when select is in place does not give me back control, therefore I cannot issue a CLEAR.
Experiment yourself and you will see what I mean. How can I trap...
1,676
Posted By gio001
Select Command - return
Hello everyone,
A simple question which may have a suggested solution:
I am using, and loving, the select command in a ksh93 script on AIX 6.1 to present users with menus.
I have been successful...
1,547
Posted By gio001
Substring a returned function value
Hello,
I have something that should be very simple yet I am losing my head in figuring out how to get it to work:
I am calling a function passing a parameter, this will return a particular string,...
13,156
Posted By gio001
Sort on one column only
Hello,
I am running on AIX.I have a question about sorting in UNIX.
if my file is something like this:

a c
b d
a b
b c
a a

I want to sort on column 1 only. The following...
3,754
Posted By gio001
I have this working with grep grep...
I have this working with grep
grep 'PV1\|\([^|]*\|\)\{16\}\|X' infile > outfile

but the same regexp does not work in awk:
awk '/PV1\|\([^|]*\|\)\{16\}\|X/ {print $0}' infile > outfile

Any...
3,754
Posted By gio001
awk reg expression
Hello,
I have thousand of messages (HL7), I want to use awk to extract only the ones that have a particular value in pv1.18
Each record in the file is the whole HL7 message, ie. when I print $0 I...
1,873
Posted By gio001
I do not have access to nawk, would this code be...
I do not have access to nawk, would this code be portable to regular AIX awk?
Thanks!
1,873
Posted By gio001
AWK lookup not finding match
Hello everyone,
I have been struggling with the following situation, I think I am doing something wrong, can anyone help?
I have 2 comma separated files, the first is a look-up table that will...
6,524
Posted By gio001
I have the .forward in my $HOME location ..... by...
I have the .forward in my $HOME location ..... by the way /var/spool/mail/<yourname>.
is where according to man mail:
a user's system mailbox is a file located in the /var/spool/mail directory....
6,524
Posted By gio001
Forwarding Mail in AIX 5.3
Hello everyone,
I am trying to create a forwarding scenario, and I do not seem to get it right!
I created a .forward file in the directory where my personal mailbox resides. In the file is the...
Showing results 1 to 25 of 109

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