Timeline for xargs and vi - "Input is not from a terminal"
Current License: CC BY-SA 4.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| S Sep 13, 2021 at 7:59 | history | edited | AdminBee | CC BY-SA 4.0 |
Rephrase for clarity
|
| S Sep 13, 2021 at 7:59 | history | suggested | Kevin E | CC BY-SA 4.0 |
The '-o' / '--open-tty' option was introduced in GNU findutils 4.6.0; update answer to mention that any recent GNU 'xargs' should have parity with macOS/BSD for this option
|
| Sep 12, 2021 at 16:18 | comment | added | Kevin E | @BigMcLargeHuge as of 4.6.0, which was back in 2017, so any recent installation of GNU findutils should have this option now. | |
| Sep 12, 2021 at 16:17 | review | Suggested edits | |||
| S Sep 13, 2021 at 7:59 | |||||
| Jul 10, 2021 at 20:21 | comment | added | Big McLargeHuge |
The -o (also --open-tty) has been ported to xargs (GNU findutils) 4.8.0.
|
|
| Oct 21, 2020 at 12:41 | comment | added | darw |
Without dummy string: '<dev/tty "$0" "$@"' vim
|
|
| S Nov 3, 2018 at 2:57 | history | suggested | wisbucky | CC BY-SA 4.0 |
Previous answer left off the "dummy" string that is required for solution to work.
|
| Nov 2, 2018 at 20:53 | review | Suggested edits | |||
| S Nov 3, 2018 at 2:57 | |||||
| Mar 20, 2017 at 10:18 | history | edited | CommunityBot |
replaced http://superuser.com/ with https://superuser.com/
|
|
| Jul 31, 2012 at 22:22 | comment | added | cas |
+1 thanks for the -o tip. i've been using xargs for years and never noticed that....just checked the man page on my system, that's because it's not a GNU xargs feature. The man page does provide xargs sh -c 'emacs "$@" < /dev/tty' emacs as what they claim is a more flexible and portable alternative (although it's kind of funny for GNU to be prefer portability to features :).
|
|
| Jul 31, 2012 at 21:20 | history | answered | darnir | CC BY-SA 3.0 |