Hi
What is the problem here in specifying the tab.
I tried various options but does not seem to work in php.

$command ='join -t$\'\t\' file1.txt file2.txt   >  fileout.txt';
system($command);

When load the browser, it prints the following command, but nothing happens.
join -t$'\t' file1.txt file2.txt > fileout.txt

When I execute this php from shell, it gives the following error

$php myfile.php
join: multi-character tab `$\t'
join -t$'\t' file1.txt file2.txt > fileout.txt

Thanks

    See the manual's section on the [man]string[/man] type. The only recognised escape sequences in single-quoted strings are for the single quote and the backslash.

      Write a Reply...