Search Results

Search: Posts Made By: rogerben
63,555
Posted By rogerben
am trying the below command but getting illegal...
am trying the below command but getting illegal variable in csh.

set a="$(awk -v v2s="${uid}" '$2==v2s {print $3}' testfile)" -- where uid is the value of the user
echo "$a"


--- Post...
63,555
Posted By rogerben
am using csh
am using csh
63,555
Posted By rogerben
actually the column 2 value is not constant and...
actually the column 2 value is not constant and it will vary based on different ids, so cant check with that particular id . Need to get the value if i fetched the userid and corresponding password
63,555
Posted By rogerben
How to escape "*" using awk inside script?
Hi , I have a file with the below contents like serialno, userid and password. When am trying to fetch column 3 using awk its working except for the user id jij due to the password having "*" in...
Showing results 1 to 4 of 4

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