1,102 reputation
520
bio website
location
age
visits member for 1 year, 11 months
seen Aug 18 at 17:16

Jul
8
comment Removing a specific line from a file
with certain versions of sed you don't need to do -i.bak just -i will do (but of course w/o backup file)
Jul
2
awarded  Curious
Jul
2
comment Finding all large files in the root filesystem
relevant find . -type f -print | xargs du -sk | sort -rn
Jul
2
comment Test for a particular file format
file: invalid option -- 'l' @illuminÉ
Jul
2
comment Normal looking text file, detected by file as ASCII Pascal program text
could you have a stab at unix.stackexchange.com/questions/140359/…;? thanks.
Jul
2
comment Test for a particular file format
thanks, i should have checked manpages. But unfortunately this doesn't work for the file I have uploaded in the linked question. file -k tmp still shows only ASCII Pascal program text as the only matching format whereas I expect it to match it with ASCII English Text.
Jul
2
revised Test for a particular file format
added 3 characters in body
Jul
2
asked Test for a particular file format
Jul
2
accepted Normal looking text file, detected by file as ASCII Pascal program text
Jul
2
revised Normal looking text file, detected by file as ASCII Pascal program text
added 17 characters in body
Jul
2
revised Normal looking text file, detected by file as ASCII Pascal program text
added 54 characters in body
Jul
1
comment Normal looking text file, detected by file as ASCII Pascal program text
yes, it's /etc/magic. not under $home, i just wanted to say that i have the magic file somewhere (it shows path when you do file -v)
Jul
1
comment Normal looking text file, detected by file as ASCII Pascal program text
@steeldriver see edit at the end of question.
Jul
1
revised Normal looking text file, detected by file as ASCII Pascal program text
added 103 characters in body
Jul
1
comment Normal looking text file, detected by file as ASCII Pascal program text
@steeldriver yes, should i share it? Is there some version number for that file that will make you identify it?
Jul
1
comment Normal looking text file, detected by file as ASCII Pascal program text
@terdon done it.
Jul
1
revised Normal looking text file, detected by file as ASCII Pascal program text
added 379 characters in body
Jul
1
asked Normal looking text file, detected by file as ASCII Pascal program text
Jun
28
accepted Literally grep the only word in a line
Jun
28
comment Literally grep the only word in a line
thanks, i ll accept this in 10 mins. so there is no generalized way to treat some part of pattern as regex and some part as literal, is it?