Removed useless lines coz why not
This commit is contained in:
		
							parent
							
								
									d46358f2da
								
							
						
					
					
						commit
						d309978375
					
				
					 1 changed files with 0 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -28,9 +28,7 @@ while true; do
 | 
			
		|||
            ls -l "$dir"
 | 
			
		||||
            ;;
 | 
			
		||||
        3)
 | 
			
		||||
            # Count .sh files in the given directory (errors hidden if none found)
 | 
			
		||||
            sh_count=$(ls -1 "$dir"/*.sh 2>/dev/null | wc -l)
 | 
			
		||||
            # Count subdirectories (using a trailing slash pattern)
 | 
			
		||||
            dir_count=$(ls -d "$dir"/*/ 2>/dev/null | wc -w)
 | 
			
		||||
            echo ".sh file count: $sh_count"
 | 
			
		||||
            echo "Subdirectory count: $dir_count"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue