Search Results

Search: Posts Made By: munish259272
36,347
Posted By BMDan
bash-3.00$ cat compare.sh #NOTE : 1.Filename...
bash-3.00$ cat compare.sh
#NOTE : 1.Filename must not have space for the script to work.
# 2.Script wont work if symlinks are there instead of proper filenames.

#!/bin/bash
#set -x
...
36,347
Posted By jjinno
Here is a little BASH trick to avoid these...
Here is a little BASH trick to avoid these problems...

#!/bin/bash

function myLoop()
{
echo $1 |
while read WORD
do
echo $WORD|egrep "[0-9]" 2>/dev/null 1>/dev/null
...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 05:32 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy