10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
need some more help please
i have a large file and
i want to change just the date format
with awk or sed
2016-04-06... (5 Replies)
Discussion started by: bob123
2. Shell Programming and Scripting
I have been stuck in this requirement where my file contains the below format.
"ABC Report" hp96880
20150812170501846959990854-25383-8.0.0 End of run
"XYZ Report" vg76452
"1006962188"... (6 Replies)
Discussion started by: Chinmaya Kabi
3. Shell Programming and Scripting
I haven't been able to find a solution for this using the sed command.
I only want to replace the forward slash with string "FW_SLASH" only if there's a number right after the slash while preserving the original number.
I have a file containing 2 entries:
Original File:... (5 Replies)
Discussion started by: pchang
4. Shell Programming and Scripting
Following is my issue.
$MAIL_DOC = test.txt
test.txt contains the following text .
This process was executed in the %INSTANCE% instance on %RUNDATE%.
I am trying to execute the following script
var=`echo $ORACLE_SID | tr `
sed -e... (3 Replies)
Discussion started by: megha2525
5. Shell Programming and Scripting
Can someone help me on how to change the date format using sed or any unix command to give my desired output as shown below.
DESIRED... (2 Replies)
Discussion started by: pinpe
6. Shell Programming and Scripting
i am new to here. can anybody tell me how can we change the date format in the 'last' command.
EX- on running last command i am getting --
rruat pts/12 172.18.40.101 Tue May 3 12:59 still logged in
rruat pts/10 blr2-3f-239.asco Tue May 3 12:59 - 13:09 ... (2 Replies)
Discussion started by: thearpit
7. Shell Programming and Scripting
Hi I have a date format in a variable as Mon Jan 11 03:35:59 2010. how do i change it to YYYYMMDD format (3 Replies)
Discussion started by: keerthan
drwxr-xr-x 40 root sys 1024 Jul 11 22:19 usr
drwxr-xr-x 43 root sys 1024 Feb 1 2009 var
i am using solaris 10
is that possibe to do
drwxr-xr-x 40 root sys 1024 25-08-2009 22:19 usr
drwxr-xr-x 43 root sys ... (4 Replies)
Discussion started by: hosney00ux
9. Shell Programming and Scripting
this is my second post, last post reply was very helpful.
I have a data that has date in DD/MM/YYYY (07/11/2008) format i want to replace the backslash by a dot(.) so that my awk script can read it inside the C shell script that i have written.
i want to change 07/11/2008 to... (3 Replies)
Discussion started by: asirohi
10. UNIX for Advanced & Expert Users
I know the command date +"%Y%m%d" can change today's date to digit format as below .
it works fine .
now I want to do it back . If I have a file like below, (in the file , there are three lines, and each line have ; sign , after the ; sign is the date ) , I... (4 Replies)
Discussion started by: ust