Search found 5 matches
- 2016-01-06T16:17:46-07:00
- Forum: Users
- Topic: SOLVED: Error: unrecognised option '-P' error/import.c/ImportImageCommand/1275
- Replies: 7
- Views: 3071
Re: Error: unrecognised option '-P' error/import.c/ImportImageCommand/1275
So the man command was inserted after the timeout not in the list of commands - not in the import either
- 2016-01-06T16:15:53-07:00
- Forum: Users
- Topic: SOLVED: Error: unrecognised option '-P' error/import.c/ImportImageCommand/1275
- Replies: 7
- Views: 3071
Re: Error: unrecognised option '-P' error/import.c/ImportImageCommand/1275
Working now:
try(){
clear
timeout 0.2 man -P cat $1
re=$?
echo trying $1>>log.txt
echo result is $re>>log.txt
if [ ! $re -eq 127 ]; then
sleep 0.2
import -window osboxes@osboxes:~/Downloads/Parser\ Project\Code/iteration\ 3 iter3/$1.png
echo $1 captured>>log.txt
fi
}
try AB
try ABRT ...
try(){
clear
timeout 0.2 man -P cat $1
re=$?
echo trying $1>>log.txt
echo result is $re>>log.txt
if [ ! $re -eq 127 ]; then
sleep 0.2
import -window osboxes@osboxes:~/Downloads/Parser\ Project\Code/iteration\ 3 iter3/$1.png
echo $1 captured>>log.txt
fi
}
try AB
try ABRT ...
- 2016-01-06T15:55:10-07:00
- Forum: Users
- Topic: SOLVED: Error: unrecognised option '-P' error/import.c/ImportImageCommand/1275
- Replies: 7
- Views: 3071
Re: Error: unrecognised option '-P' error/import.c/ImportImageCommand/1275
Debug just gives that error about -P
- 2016-01-06T15:41:55-07:00
- Forum: Users
- Topic: SOLVED: Error: unrecognised option '-P' error/import.c/ImportImageCommand/1275
- Replies: 7
- Views: 3071
Re: Error: unrecognised option '-P' error/import.c/ImportImageCommand/1275
Sorry can you elaborate more clearly?
The files have to be given the name of the command that is being run. Over 1000 of them. If I run it without man - just the raw command it saves & names the files OK.
But I need to take a screen shot of the man file output for each command & give it a ...
The files have to be given the name of the command that is being run. Over 1000 of them. If I run it without man - just the raw command it saves & names the files OK.
But I need to take a screen shot of the man file output for each command & give it a ...
- 2016-01-06T06:35:22-07:00
- Forum: Users
- Topic: SOLVED: Error: unrecognised option '-P' error/import.c/ImportImageCommand/1275
- Replies: 7
- Views: 3071
SOLVED: Error: unrecognised option '-P' error/import.c/ImportImageCommand/1275
I have a script that takes screenshots of linux man pages as they show in the console
try(){
clear
timeout 0.2 $1
re=$?
echo trying $1>>log.txt
echo result is $re>>log.txt
if [ ! $re -eq 127 ]; then
sleep 0.2
import -window osboxes@osboxes:~/Downloads/Parser\ Project\Code/iteration\ 3 ...
try(){
clear
timeout 0.2 $1
re=$?
echo trying $1>>log.txt
echo result is $re>>log.txt
if [ ! $re -eq 127 ]; then
sleep 0.2
import -window osboxes@osboxes:~/Downloads/Parser\ Project\Code/iteration\ 3 ...