Added a seq function that defers to the seq command if present

https://github.com/fish-shell/fish-shell/issues/137
This commit is contained in:
ridiculousfish
2013-01-12 14:18:34 -08:00
parent 373cca0bf6
commit dc37a8079e
6 changed files with 90 additions and 55 deletions

View File

@@ -293,6 +293,11 @@ char *wcs2str(const wchar_t *in)
return wcs2str_internal(in, out);
}
char *wcs2str(const wcstring &in)
{
return wcs2str(in.c_str());
}
/* This function is distinguished from wcs2str_internal in that it allows embedded null bytes */
std::string wcs2string(const wcstring &input)
{