Why do tabs in YAML work some but not at all times?

We’ve used tab-characters in some of YAML-files here: host: “foo” port: 8011 p: “bar” For some reason, the same version of Ansible running the same playbook works just fine with these files for some users, but complains about “invalid characters” for others: ERROR! Syntax Error while loading YAML. found character ‘\t’ that cannot start any … Read more

filename extract and formatting

I have a lot of files in a folder \Testing, I’m trying to take the file name and format it inside the text file to a certain way. Example would be 111005000_10312019.pdf inside folder “Testing”. I’m trying to take that and format the name to be exactly this below without formatting the files itself. 111005000|10/31/2019|111005000_10312019.PDF … Read more

Is there a standard for this file format?

I run an Ubiquity Edge router which itself is based upon Vyatta (it does not matter, it is just in case someone knew the product). The configuration file looks like that (…) service { dhcp-server { disabled false global-parameters “option rfc3118-auth code 90 = string;” global-parameters “option SIP code 120 = string;” global-parameters “option Vendor-specific … Read more

In Windows, what are the purposes of file extensions?

As far as I know, in Linux filename extensions don’t have any special meaning to the operating system. It helps users to identify the file, of course, but the OS itself simply does not care about it (right?). I’ve heard that this is not the case in Windows, but I don’t really understand – does … Read more

How to open files with KMP as default?

I have downloaded some videos from Youtube. but their format is not KMP. It is “File”. although when I right click on the file and click on “Open With” I can open it with KMP format. but the problem is, there isn’t any option as “Open as default for this app”. So I don’t know … Read more

filename extract and formatting

I have a lot of files in a folder \Testing, I’m trying to take the file name and format it inside the text file to a certain way. Example would be 111005000_10312019.pdf inside folder “Testing”. I’m trying to take that and format the name to be exactly this below without formatting the files itself. 111005000|10/31/2019|111005000_10312019.PDF … Read more