Search Results

Search: Posts Made By: pingiliarjun
930
Posted By pingiliarjun
Thanks buddy this is working.
Thanks buddy this is working.
930
Posted By pingiliarjun
Issue with files when there is no data in a file.
I have two files

File1.txt

000199458
000199463
000200442
000200831
000200866
000201009
000201050
000201405
000201666
000201682




File2.txt
8,804
Posted By pingiliarjun
This is what I have written but I am not sure if...
This is what I have written but I am not sure if it is correct as I am new to UNIX

#!/bin/sh
FirstChar = cut -c1 $1
if [FirstChar -eq A-z] || [FirstChar -eq a-z]|| [FirstChar -eq '%']
then
...
8,804
Posted By pingiliarjun
Need a script to check if an argument is valid shell variable
I need a script that should print 'yes' if the argument is a valid shell variable name else 'No' if it is not a valid shell variable. A valid one begins with an alphabet or percentage (%) character...
Showing results 1 to 4 of 4

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