cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
rakesh_dama
Active participant

Special Character "?" in file name

Hi,

 

I am using below date command to get timestamp and writing it into $logtimestamp$ variable.

date +%F_%H_%M_%S

Creating a log file with that timestamp. But, strangely I see that "?" character getting added in file name. 

default_linux_version_2019-10-15_16_13_53?.cfg

sometimes

default_linux_version_2019-10-15_16_13_53\^J.log

 

Can someone help .

0 Kudos
2 Replies
Flexera Flexera_Ian
Flexera

Re: Special Character "?" in file name

Hi @rakesh_dama,

Thank you for your post. Sorry about the delayed response.

It would be best to open a new support ticket for this issue. If you have not already done so, could you please open a new support ticket for this issue?

Thanks,

Ian

0 Kudos
rakesh_dama
Active participant

Re: Special Character "?" in file name

I have followed the below document.

https://community.flexera.com/t5/InstallAnywhere-Knowledge-Base/Removing-the-Newline-Character-from-... Defined:

MS_SEARCH_AND_REPLACE : all

MS_STRING_TO_CONVERT : $timestamp$

MS_SEARCH_STRING : \\n

MS_REPLACE_STRING :

Output of below variables is printed as null.

MS_NEW_SAR_STRING :

MS_STRING_DBS :

MS_STRING_FS :

MS_PARENT_DIR :

MS_ROOT_DIR :

MS_STRING_TRIM :

0 Kudos