Posts

Showing posts from January 12, 2019

Públio Trebônio (cônsul em 53)

Image
  Nota: Este artigo é sobre o cônsul sufecto em 53. Para o tribuno consular em 379 a.C., veja Públio Trebônio. Públio Trebônio Cônsul do Império Romano Consulado 53 d.C.

Cannot mount E01 image in Sans Sift (Ubuntu )

Image
0 I have installed Sans SIFT, but I cannot mount E01 File,I have tried following command: # ewfmount /cases/suresh.E01 /mnt/ewf_mount/ # mount -o loop,ro,show_sys_files,streams_interface=Windows /mnt/ewf_mount/ewf1 /mnt/windows_mount and Im getting below error: mount /dev/sda2 -o loop,ro,show_sys_files,streams_interface=Windows /mnt/windows_mount mount: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so. mount filesystem share | improve this question asked Dec 29 '18 at 13:05

Detect empty or null output from xstring's StrBetween

Image
2 I have some code for formatting names. However, the ifempty macro from xifthen is unable to detect empty/null output from xstring macros such as StrBetween . The same goes for the equal {} method. How can I detect empty output from StrBetween ? The below code for some reason compiles and does not work. documentclass{article} usepackage{xstring} usepackage{xifthen} newcommand{name}{John Doe} newcommand{middleinitial}{% StrBetween{name}{ }{.} } newcommand{test}{% ifthenelse{isempty{middleinitial}}% {Whoo hoo!}% {Not whoo hoo.} } begin{document} test end{document} Any ideas? xstring xifthen share | improve this question