Search Results

Search: Posts Made By: ckwan
1,854
Posted By Akshay Hegde
The file you are trying to list does not exist ...
The file you are trying to list does not exist

if ls ${src}_*/*.CTL &> /dev/null; then
echo "yes files are there"
else
echo "No files"
fi
1,854
Posted By Don Cragun
Try: if [ $(ls ${src}_*/*.CTL 2>/dev/null|wc...
Try:
if [ $(ls ${src}_*/*.CTL 2>/dev/null|wc -l) -gt 0 ]; thenor:
if ls ${src}_*/*.CTL >/dev/null 2>&1; then
1,151
Posted By Chubler_XL
How about this: awk ' { col=$0 ...
How about this:

awk '
{
col=$0
line=$0
gsub(/ *= .*/, "", col)
gsub(/^[^=]*= /, "", line)
if (!(col in COLS)) {
head=head OFS col
TITLE[++cols]=col
...
Forum: HP-UX 11-03-2011
4,411
Posted By vbe
The tape has an option: -i if used when...
The tape has an option: -i if used when generating the tape... If it were not the case the tape process as you have seen can be interrupted to go in interactive mode, but this is of no use unless...
Showing results 1 to 4 of 4

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