Updated cat to use the new path searching algorithm
This commit is contained in:
parent
09b0c8106e
commit
9b8d1e01b6
@ -48,7 +48,7 @@ func main() {
|
|||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
|
||||||
if !*jsonModePtr {
|
if !*jsonModePtr {
|
||||||
fmt.Printf("%s", jsh.FallbackWithArgs("/usr/bin/cat", flag.Args()))
|
fmt.Printf("%s", jsh.FallbackWithArgs("cat", flag.Args()))
|
||||||
} else {
|
} else {
|
||||||
runJsonMode()
|
runJsonMode()
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user