no-Wanted date and time appears into script.
Posted: 19 Feb 2014 09:25
Hello,
I launch a script like this :
And my problem is when generating files .SupRoutage10x ,, sometimes, Date and time appears like this : Wed Feb 19 15:09:17 CET 2014
So, my diff "see" a difference.
Any idea to prevent date/time from coming ???
Thx
I launch a script like this :
Code: Select all
#!/bin/bash
# List of Trunk Group Node 1
tool trkvisu all | grep 102 > /DHS3bin/mtcl/SupRoutageSR/.SupRoutage102
tool trkvisu 102 | egrep 'access_level2|(num_crist - num_cpl - num_term)' >> /DHS3bin/mtcl/SupRoutageSR/.SupRoutage102
[b]...around 40 trunk...[/b]
#Compare file with Reference file
diff -c /DHS3bin/mtcl/SupRoutageSR/.RefSupRoutage102 /DHS3bin/mtcl/SupRoutageSR/.SupRoutage102 > /DHS3bin/mtcl/SupRoutageSR/.DiffSupRoutage
[b]...around 40 diff...[/b]
# Display file .DiffSupRoutage
cat /DHS3bin/mtcl/SupRoutageSR/.DiffSupRoutage
So, my diff "see" a difference.
Any idea to prevent date/time from coming ???
Thx