Examples of shell redirections involving file descriptors 3 and above

0

Please login or register to vote for this query.

(click on this box to dismiss)

Search for posts containing redirections to or from fd 3 and above. On Stack Overflow, you should restrict the search to a few tags by uncommenting the second part of the WHERE clause below.

Unix and Linux

Q&A for users of Linux, FreeBSD and other Un*x-like operating systems

-- Examples of shell redirections involving file descriptors 3 and above
-- Search for posts containing redirections to or from fd 3 and above.
-- On Stack Overflow, you should restrict the search to a few tags by uncommenting the second part of the WHERE clause below.

SELECT TOP 50
  Id AS [Post Link],
  CreationDate As [Date],
  OwnerUserId As [User Link],
  Score As [Score]
FROM Posts
WHERE (Body LIKE '%[3-9]&[gl]t;&%' OR Body LIKE '%&[gl]t;&[3-9]%')
--  AND (Tags LIKE '%[<é]shell[>à]%' OR Tags LIKE '%[<é]shell-script[>à]%' OR
--       Tags LIKE '%[<é]bash[>à]%' OR Tags LIKE '%[<é]ksh[>à]%' OR Tags LIKE '%[<é]zsh[>à]%')
ORDER BY Score DESC

Enter Parameters

Options:
Switch sites:
loading Hold tight while we fetch your results