Search Results

Search: Posts Made By: lawsongeek
2
awk
1,202
Posted By lawsongeek
awk
I have a file (test.txt) that has content of:

a
b
c
d when I awk -v ORS="," '1' test.ext on AIX6.3
gave me this:
a,b,c,d, that's exactly what I want.

I ran same syntax on...
5
sed
1,120
Posted By lawsongeek
yes, sir. worked perfectly. i just added /g' to...
yes, sir. worked perfectly. i just added /g' to replace globally. thank you so much.
5
sed
1,120
Posted By lawsongeek
cjcox, since i have more than just 2 of...
cjcox,

since i have more than just 2 of them to replace with a single email. i'd like to replace *@yahoo.com withtest.gmail.com
5
sed
1,120
Posted By lawsongeek
sed
i have a file (test.txt) which contains:

jan@yahoo.com
john@yahoo.com

i' like to replace jan@yahoo.com and john@yahoo.com with test@gmail.com

normally, i can do:

sed -e...
763
Posted By lawsongeek
Ldapdelete
i am able to:
idsldapsearch -h "$Host" -p 389 -D "CN=root,cn=lwsn,dc=chop,dc=edu" -w "$Pwd" -b "CN=SSOP,ou=svcxref,o=lwsnsecdata,cn=lwsn,dc=chop,dc=edu" "lwsnssoListOfIDs=1234"

BUT i cannot do...
11
1,542
Posted By lawsongeek
Thanks y'all so much.
Thanks y'all so much.
11
1,542
Posted By lawsongeek
Math
i have file (my_file.txt) that looks like this:

000000000000010000
000000000000010000
000000000000005000
000000000000005000
000000000000005000
000000000000005000
000000000000005000
...
925
Posted By lawsongeek
when i sh, it just "Exiting Tue" all the time...
when i sh, it just "Exiting Tue" all the time even though Tue = Tue and Tue.txt exists. it should run when Tue = Tue and Tue.txt exists.
925
Posted By lawsongeek
Shell script
if i have it like this, it runs every other monday fine.

date | awk '{print $1}' > $TMPDIR/today.txt
today=`tail $TMPDIR/today.txt`
if [ Mon = $today ] && [ -e $TMPDIR/$today.txt ]
then
echo...
2,296
Posted By lawsongeek
AIX6.1 and 7.1
AIX6.1 and 7.1
2,296
Posted By lawsongeek
Mapping drive
please forgive me. i know this is unix forum.

CIFS can map to shared windows folder.

i just wonder if windows can map to unix shared folder.

if yes, please enlight me...
1,186
Posted By lawsongeek
awk '{print $1}' only gets Jean, but not Jean...
awk '{print $1}' only gets Jean, but not Jean Marie.
1,186
Posted By lawsongeek
cat filename | awk '{print $1}' >...
cat filename | awk '{print $1}' > firstname.txtbut it got Jean, not Jean Marie
1,186
Posted By lawsongeek
sed or awk
my data looks like this: "Jean Marie","Carroll",carrollj@yahoo.com

all said and done, i'd like to see like this:

"Jean Marie"
"Caroll"
carroll@yahoo.com
This user will be unable to respond...
2
sed
725
Posted By lawsongeek
cool. thank you much Shamrock.
cool. thank you much Shamrock.
2
sed
725
Posted By lawsongeek
sed
sed -e 's/FIRSTNAME/JEAN MARIE/g, error msg: sed: 0602-404 Function s/FIRSTNAME/JEAN cannot be parsed.

but if i
sed -e 's/FIRTNAME/JEAN-MARIE/g', works fine.

any idea ?

thanks.
...
1,153
Posted By lawsongeek
Don, works perfectly. thank you so much.
Don,
works perfectly. thank you so much.
1,153
Posted By lawsongeek
so basically, i can not use within shell script...
so basically, i can not use within shell script then. ok, thanks for trying...
1,153
Posted By lawsongeek
lawaptdu001:/home/lawson>cat test3.sh ...
lawaptdu001:/home/lawson>cat test3.sh
#!/bin/ksh
. cv LDEV
if [ -s /tmp/tj.txt ]
then
echo "Deleting Coreaccess from LAUA..."
$ORACLE_HOME/bin/sqlplus << -!
delete...
1,153
Posted By lawsongeek
#!/bin/ksh . cv LDEV if [ -s /tmp/tj.txt ] ...
#!/bin/ksh
. cv LDEV
if [ -s /tmp/tj.txt ]
then
echo "Deleting Coreaccess from LAUA..."
$ORACLE_HOME/bin/sqlplus username/password@servername << -!
delete from...
1,153
Posted By lawsongeek
ksh with Oracle commands
works fine.

echo "Deleting CHOPOne Coreaccess from LAUA..."
$ORACLE_HOME/bin/sqlplus username/password@ (username/password@servername)servername << !
delete from usergrpdtl where...
1,013
Posted By lawsongeek
Idsldapsearch
run idsldapsearch, and got this error msg: ldap_search: Sizelimit exceeded

if total records under 59998 seems to work fine, but not greater.

on AIX6.1 and ldap V6.3
583
Posted By lawsongeek
thanks.
thanks.
583
Posted By lawsongeek
Change font
how do i change from employee= to employee= in ksh.

in my shell script, i just want to employee= to BOLD.
695
Posted By lawsongeek
Convert
my file or content of the file looks like this:
HR-BUSPARTNET
SC-POINQUIRY
BATCH
FIN-CHOPDATARESTRICT
HR-DATABASEACCESSNOEXEC
GL-EXTINQ
RSS
SC-APPROVER
ESS


all said and done, i'd like...
Showing results 1 to 25 of 88

 

Featured Tech Videos

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