Search Results

Search: Posts Made By: sahil_shine
4,758
Posted By stomp
Classic Approach: Convert dates to epoch and...
Classic Approach: Convert dates to epoch and simply compare(classic: unexcited, not extraordinarily short, simple logic)


#!/bin/sh

awk -vstart="$1" -vend="$2" '

BEGIN {
...
2,583
Posted By mirni
Use semicolon to execute commands consecutively....
Use semicolon to execute commands consecutively. You are incorrectly using pipe instead.
The easiest way is to do:

if grep -q string file.txt ; then
echo "string found"
else
echo "not...
4,004
Posted By Smiling Dragon
If I'm reading that correctly, the first entry...
If I'm reading that correctly, the first entry has a tab or a bunch of spaces after a newline in the name (!?!?). Or your copy-paste went a bit wrong :)

My prefered method of getting to the...
4,004
Posted By methyl
It is impossible to have two directories with the...
It is impossible to have two directories with the same name in the same parent directory.

What do you get for:

ls -lia |grep us000xyz_R5 | sed -n l # Make control codes visible
Showing results 1 to 4 of 4

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