Search Results

Search: Posts Made By: ladyAnne
2,291
Posted By DGPickett
Sounds like a TERM behavior. Which $TERM does it...
Sounds like a TERM behavior. Which $TERM does it think you are using?

.profile is in $HOME ( ~ ).

Try something like 'export TERM=vt100 ; tset -Q'.
3,771
Posted By anurag.singh
Your initial input is different than this one. ...
Your initial input is different than this one.
Following shouild work:
awk -F\" '/Cell id/{if(!a[$2]) cnt++;a[$2]++;next}END{print cnt}' gen_cell_orig_001.dsx
2,657
Posted By jim mcnamara
several problems 1. pass variables into...
several problems
1. pass variables into gawk/awk with -v
2. print $0 > somefilename leaves the file descrptor open, if the file has thousands of lines with unique values you have thousands of...
1,980
Posted By bartus11
I didn't go into your script very deep, but isn't...
I didn't go into your script very deep, but isn't this line missing slash at the beginning?diffdir="var/local/dsx/diff"
diffdir="/var/local/dsx/diff"
41,739
Posted By zaxxon
Defining some variables Calling a script or...
Defining some variables
Calling a script or binary named dsxdiff with various options and writing stdout (1>) in one file and stderr (2>) into another file
grep in a file for a pattern and if...
24,201
Posted By Scott
filename=${cfile%%.*}.dsx mv $cfile...
filename=${cfile%%.*}.dsx
mv $cfile $dsxdir/${filename##*/}
3,591
Posted By vgersh99
sorry... filename=${csvfile%.*} and...
sorry...

filename=${csvfile%.*}

and loose the quotes around *_bsc_*
1,585
Posted By kchinnam
Another well known approach $>...
Another well known approach

$> file="/var/local/dsx/import/gen_cell_orig_001.dsx"; echo $(basename "$file")
gen_cell_orig_001.dsx
1,585
Posted By mr_harish80
$ echo...
$ echo "/var/local/dsx/import/gen_cell_orig_001.dsx"| cut -d '/' -f6
gen_cell_orig_001.dsx
1,585
Posted By Franklin52
Have a read of: Learning the Korn Shell, 2nd...
Have a read of:

Learning the Korn Shell, 2nd Edition: Chapter 4: Basic Shell Programming (http://oreilly.com/catalog/korn2/chapter/ch04.html#ksh2-ch-4-sect-5.3)

or:

Manipulating Strings...
Showing results 1 to 10 of 10

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