Yes you are right the same string was in the other thread and your solution works perfect .
the cut on the string has to done every Iteration the change of the bit only has to done depending on some condition.
But the solution for the cut does not works on my side
both file are the same , any ides what could be wrong
thanks in advanced
Last edited by rbatte1; 02-24-2017 at 01:16 PM..
Reason: Removed font formatting in CODE block
I am new/just getting used to this group (Unix Forums), but did search around. I saw a listing for "openssh for AIX" in which a response indicated a link was posted in the original post, but I couldn't find that link or another "original post", so first, if someone could enlighten me why I couldn't... (2 Replies)
Hi All,
Can anyone explain me the meanning of the following errors:
LABEL: SC_DISK_ERR2
IDENTIFIER: B6267342
Description
DISK OPERATION ERROR
Probable Causes
DASD DEVICE
Failure Causes
DISK DRIVE
DISK DRIVE ELECTRONICS
Recommended Actions
PERFORM PROBLEM DETERMINATION... (1 Reply)
Hi all,
Here is my situation.
I have a text file TXT_FILE like this:
john 123456
jack 94589
kelvin 94595
mary 88585
I want to read the first word in each line ( the name ) and assign to a string variable ( EX_LIST ) in my script so that I can use later as this commandfor i in... (6 Replies)
i am new user of unix.i have a question.My script is-
export STR_ALFA=`head -2 "${FILE_PATH}"|tail -1|cut -d"," -f1`
"${TEST_HOME}"/function/chk_alfa.ksh STR_ALFA
now i want to check STR_ALFA:
1)whether is alphabetic
2)whether is numeric
3)whether is alphanumeric... (1 Reply)
i am new user of unix.i have a question.My script is-
export STR_ALFA=`head -2 "${FILE_PATH}"|tail -1|cut -d"," -f1`
"${TEST_HOME}"/function/chk_alfa.ksh STR_ALFA
now i want to check STR_ALFA:
1)whether is alphabetic
2)whether is numeric
3)whether is alphanumeric... (1 Reply)
Hi,
I wish to find all lines that contain a specific search word, and then do few string operations on that line. The idea is to "fix" the file which has been moved from windows to unix.
Using unix - Sun Solaris
Test input ("t2.sas")
statement1
statement2
libname yahoo ... (6 Replies)
/home8/mc09ats/UnixCw/file4
this is the path...i have 2 variables filename and filepath...i want
filename=file4
filepath=/home8/mc09ats/UnixCw
i.e. i think i have to find last occurence of "/" in string and the string after "/" want to take in some variable and string before last "/"... (4 Replies)
Hi, to everybody
i have a string which Looks like this
FT47;3;1;1;;;1;09.02.2017 21:21:19;2;2
and i would like to change to value on one Position only
e.g. the values on Position 6 should change to 1 nevertheyless which values was there before
AIX 4.3.2.0 and csh
i try... (10 Replies)