To answer the question, the echo man page says:
So the \0 just says that 1, 2, or 3 digits may follow. That zero in \0 is not counted as of of the digits. So
echo "\047"0
is seen by the echo command exactly like
echo "\0470"
and is interrpreted as an attempt to use a byte with the octal value "470". This is too big and so leading bits are dropped. In this case the bit represented by the 4 is dropped and character becomes "\070".
Hi everybody:
Could anybody tell me how I can solve this mistake.
I have two files and i would like one, so I use the cat command, like always:
cat file1.dat file2.dat > file3.dat
But the first line from file2.dat is concatenated with the last line from file1.dat:
file1.dat... (2 Replies)
From Sept 12th onwards i am facing some problem in the file permission.
Normally the file get generated by a script with the permission 666 and
from sept 12th onwards it get changed to 644
If we create a blank file using touch command it is with the permission 666,
but the files which are... (3 Replies)