Update syntax of the random0 page
This commit is contained in:
		
							parent
							
								
									0b32612c48
								
							
						
					
					
						commit
						0279e849c5
					
				| 
						 | 
				
			
			@ -3,7 +3,7 @@
 | 
			
		|||
# Description:            Get a quot from http://danstonchat.com
 | 
			
		||||
 | 
			
		||||
if [ $(command -v lynx) ]; then
 | 
			
		||||
	lynx --dump --display_charset=utf8 http://danstonchat.com/random0.html | awk '$0~"Ajouter une quote.*Betamod" && $0!~"Score" { getline; while ($0!~"Score") { print $0; getline;}; exit }'
 | 
			
		||||
	lynx --dump --display_charset=utf8 http://danstonchat.com/random0.html | awk '$0~".*Betamod" && $0!~"Score" { getline; while ($0!~"Score") { print $0; getline;}; exit }'
 | 
			
		||||
else
 | 
			
		||||
  printf '%b' "Please install lynx package.\n"
 | 
			
		||||
fi
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue