prabhanshubhowal commited on
Commit
9638954
·
verified ·
1 Parent(s): 4b28009

Upload train.json

Browse files
Files changed (1) hide show
  1. data/train.json +2 -6
data/train.json CHANGED
@@ -6614,7 +6614,7 @@
6614
  "bash_code": "bind -p|grep -i '\"[pE]\"'"
6615
  },
6616
  {
6617
- "nl_command": "search for php files in current directory and search for a word in all these files",
6618
  "bash_code": "find -name '*.php' -exec grep -iq \"fincken\" {} \\; -exec grep -iq \"TODO\" {} \\; -print"
6619
  },
6620
  {
@@ -58759,8 +58759,6 @@
58759
  "nl_command": "Copy all files below the current directory whose names contain \"FooBar\" to directory foo/bar/ in user's home directory.",
58760
  "bash_code": "find . | grep FooBar | xargs -I{} cp {} ~/foo/bar"
58761
  },
58762
-
58763
-
58764
  {
58765
  "nl_command": "SSH into \"localhost\" with forced pseudo-terminal allocation, execute \"$heredoc\", and save the output to variable \"REL_DIR\"",
58766
  "bash_code": "REL_DIR=\"$\""
@@ -59597,7 +59595,7 @@
59597
  },
59598
  {
59599
  "nl_command": "list all js files under currect directory exculde the directory which path contain \"/path/to/search/exclude_me\" or name isexclude_me_too_anywhere",
59600
- "bash_code": "find /path/to/search \\ -type d \\ \\ \\ -prune \\ -o \\ -type f -name '*\\.js' -print"
59601
  },
59602
  {
59603
  "nl_command": "Print the day at 1 day ago in 2 months from now",
@@ -59975,8 +59973,6 @@
59975
  "nl_command": "search for the directory \"config\" in the current folder and change directory to it",
59976
  "bash_code": "cd `find . -name \"config\"`"
59977
  },
59978
-
59979
-
59980
  {
59981
  "nl_command": "display all the files in the current folder excluding those that are present in the folder \"secret\"",
59982
  "bash_code": "find . \\( -name 'secret' -a -prune \\) -o -print"
 
6614
  "bash_code": "bind -p|grep -i '\"[pE]\"'"
6615
  },
6616
  {
6617
+ "nl_command": "search for php files in current directory and search for a word in all these files",
6618
  "bash_code": "find -name '*.php' -exec grep -iq \"fincken\" {} \\; -exec grep -iq \"TODO\" {} \\; -print"
6619
  },
6620
  {
 
58759
  "nl_command": "Copy all files below the current directory whose names contain \"FooBar\" to directory foo/bar/ in user's home directory.",
58760
  "bash_code": "find . | grep FooBar | xargs -I{} cp {} ~/foo/bar"
58761
  },
 
 
58762
  {
58763
  "nl_command": "SSH into \"localhost\" with forced pseudo-terminal allocation, execute \"$heredoc\", and save the output to variable \"REL_DIR\"",
58764
  "bash_code": "REL_DIR=\"$\""
 
59595
  },
59596
  {
59597
  "nl_command": "list all js files under currect directory exculde the directory which path contain \"/path/to/search/exclude_me\" or name isexclude_me_too_anywhere",
59598
+ "bash_code": "find /path/to/search -type d -prune -o -type f -name '*\\.js' -print"
59599
  },
59600
  {
59601
  "nl_command": "Print the day at 1 day ago in 2 months from now",
 
59973
  "nl_command": "search for the directory \"config\" in the current folder and change directory to it",
59974
  "bash_code": "cd `find . -name \"config\"`"
59975
  },
 
 
59976
  {
59977
  "nl_command": "display all the files in the current folder excluding those that are present in the folder \"secret\"",
59978
  "bash_code": "find . \\( -name 'secret' -a -prune \\) -o -print"