Search Results

Search: Posts Made By: Nomaad
54,662
Posted By Nomaad
nawk --enable-switch
I ran into the same issue, and I found about this switch >--enable-switch< but does not seem to work :confused:

nawk --enable-switch -f program.awk some_file

I'm using Sun Solaris 5.9 and i'm...
20,575
Posted By Nomaad
How can I know what shell version
Hello

I would like to know what version of shell my system is running, how can L do that?

I use both KSH and BASH

Thanks
27,281
Posted By Nomaad
But that's exactly what I used to get the result...
But that's exactly what I used to get the result I don't want i.e. all lines in one line.
27,281
Posted By Nomaad
put the contents of this file into a variable with multiple lines
I have a file that contains the following lines

the brown quick fox
jumped over
the white laze dog
0123456789

I wanted to put the contents of this file into a variable so I used this...
12,448
Posted By Nomaad
the files contain one line each; basically the...
the files contain one line each; basically the output of the `wc-l somefile`
65579681 ./pmroot/TgtFiles/ppax5.dat

Thanks for your help
12,448
Posted By Nomaad
: + : more tokens expected
Hello-

Trying to add two numbers in a ksh shell scripts and i get this error every time I execute

stat1_ex.ksh[40]: + : more tokens expected

stat1=`cat .stat1a.tmp | cut -f2 -d" "`...
2,712
Posted By Nomaad
Variable Manimpulation - special characters
Hello-

I have a variables that contains a string like this usr/pass@SCHEMA

I want to extract the usr/pass part and ignore the SCHEMA part, I tried to use this ${dbconn%%@} and apparently it...
20,585
Posted By Nomaad
SQLPLUS and update statements using bind variables
Hello-

The code below works fine expect that it does not update the table CTL_INTERFACE "red highlight". Any idea what I'm doing wrong here?

Thanks:D

# coNNECT to the database and insert a...
7,615
Posted By Nomaad
Which version of UNIX I'm using?
Hello-

I know it's UNIX-HP, but I don't know what version. Is there a command that tells me what version I'm running or a file that I need to open to get this information?

Thanks,
Nomaad
1,952
Posted By Nomaad
Tmarkil- Thanks so much for the fast...
Tmarkil-

Thanks so much for the fast reply....!

I should have looked into the news group first, the answer was there :)
1,952
Posted By Nomaad
Why am I getting spaces when there is none??!!
param_data=`sqlplus -S $USER/$PASSWRD@$SCHEMA << EOF

SET ECHO OFF NEWP 0 SPA 0 PAGES 0 FEED OFF HEAD OFF TRIMS ON

VARIABLE param_data VARCHAR2(1000);

WHENEVER SQLERROR EXIT SQL.SQLCODE...
57,628
Posted By Nomaad
For all of you who may have the same question and...
For all of you who may have the same question and couldn't figure our why you can't add a file to an existing tar file; Try this:

when creating the tar file use this command:
tar -cvbf 64 tarfile...
57,628
Posted By Nomaad
vgersh99: Why did you have to reply to this post?...
vgersh99: Why did you have to reply to this post? You could have just spend the sametime writing this useless answer buy typing the tar command options to add a file; if you really know!
57,628
Posted By Nomaad
how to add files to an existing tar file - HP-UNIX
Hello,

What is the command to add files to an existing tar file.

Thanks,
189,080
Posted By Nomaad
Perderabo, I used the ${x#????} and...
Perderabo,

I used the ${x#????} and ${x%????} and they worked like majik ...
I wonder where I can learn more about this technique :)

Thanks alot!
12,646
Posted By Nomaad
UNIX export command - memory space
Hello,

I have 2 or more environment files, with identical variable names; see below:

.env_file1
export PROJNAME="XYZ"
export PROJID="2"

.env_file2
export PROJNAME="WSX"
export PROJID="9"...
12,646
Posted By Nomaad
exporting variables - memory space
Hello,

I have 2 or more environment files, with identical variable names; see below:

.env_file1
export PROJNAME="XYZ"
export PROJID="2"

.env_file2
export PROJNAME="WSX"
export PROJID="9"...
9,262
Posted By Nomaad
sort command delimiter
Hello All,

I'm trying to use the sort command on a text file, the delimiter used in this file is a non-prining character '\027'

I tried to use the command -t option but it's not really working....
Showing results 1 to 18 of 18

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