Search Results

Search: Posts Made By: duonut
6,475
Posted By Don Cragun
You could set up two or more usernames with the...
You could set up two or more usernames with the password file entries specifying the same userID, groupID, home directory, etc., but have a different password for each.

Giving a user two...
4,045
Posted By bartus11
Try: perl -pe 's/\b\d:\d\d:\d\d\b/0$&/g' file
Try: perl -pe 's/\b\d:\d\d:\d\d\b/0$&/g' file
18,562
Posted By ahamed101
Try this for your second scenario awk...
Try this for your second scenario

awk '/PM/{split($6,_1,":");$6=_1[1]+12":"_1[2]}/AM|PM/{$6=$6":00";$7=$8;NF=7}1' infileregards,
Ahamed
18,562
Posted By ahamed101
Try this sed 's/\(Date:.*, \)\([Aa-Zz]..\)...
Try this

sed 's/\(Date:.*, \)\([Aa-Zz]..\) \([0-9].\)\(.*\)/\1\3 \2\4/g' inputfile

regards,
Ahamed
Showing results 1 to 4 of 4

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